From e0bcea5d1d386ab9d1db5b34d16d9c74dade8f64 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 25 Jul 2020 15:19:52 +0100 Subject: [PATCH] Optional Argument for Enso --- cogs/enso.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/enso.py b/cogs/enso.py index 2c37f7c1..9fb52470 100644 --- a/cogs/enso.py +++ b/cogs/enso.py @@ -2,6 +2,7 @@ import asyncio import datetime import random import string +from typing import Optional import discord from discord import Embed, Colour @@ -99,7 +100,7 @@ class Enso(commands.Cog): @commands.group(invoke_without_command=True) @bot_has_permissions(embed_links=True) - async def enso(self, ctx, name=None): + async def enso(self, ctx, name: Optional[str] = None): """Shows Random Person from Ensō""" # Making sure this command only works in Enso