From df159dd3b49f8423821c81ab3c9932c54a4b5342 Mon Sep 17 00:00:00 2001 From: The Dax Date: Sun, 27 Sep 2020 12:50:15 -0400 Subject: [PATCH] Attempt to fix `.invite` throwing an exception when no argument is given --- cogs/assistance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/assistance.py b/cogs/assistance.py index 5c5ccfe93..bf0393ed5 100644 --- a/cogs/assistance.py +++ b/cogs/assistance.py @@ -1575,7 +1575,7 @@ async def invite(self, ctx, name: str = ""): await self.bot.invitefilter.delete(code=invite.code) else: ctx.command.reset_cooldown(ctx) - await ctx.send(f"Invalid invite code. Valid server names are: {', '.join(self.bot.invitefilter.invites.keys())}") + await ctx.send(f"Invalid invite code. Valid server names are: {', '.join(self.bot.invitefilter.invites)}") @commands.command() async def db(self, ctx, console=None):