Trying to make waifu/husbando arguments optional in help embed

pull/8/head
sgoudham 4 years ago
parent 4ecf54e22e
commit adf6f57aa8

@ -117,7 +117,7 @@ class Anime(commands.Cog):
self.bot = bot self.bot = bot
@commands.group(invoke_without_command=True) @commands.group(invoke_without_command=True)
async def waifu(self, ctx, waifu: Optional[str]): async def waifu(self, ctx, waifu: Optional):
"""Shows a Waifu""" """Shows a Waifu"""
if waifu: if waifu:
@ -149,7 +149,7 @@ class Anime(commands.Cog):
await ctx.send(embed=embed) await ctx.send(embed=embed)
@commands.group(invoke_without_command=True) @commands.group(invoke_without_command=True)
async def husbando(self, ctx, husbando: Optional[str]): async def husbando(self, ctx, husbando: Optional):
"""Shows a Husbando""" """Shows a Husbando"""
if husbando: if husbando:

Loading…
Cancel
Save