From 151b3c4ebf690f1d5181f6f7ecb8e90d99174f50 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 6 Aug 2017 16:24:03 -0500 Subject: [PATCH] Convert the right thing --- cogs/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/admin.py b/cogs/admin.py index 3a6acb1..b35fdbc 100644 --- a/cogs/admin.py +++ b/cogs/admin.py @@ -949,7 +949,7 @@ class Administration: # If a command wasn't provided, see if a user was converter = commands.converter.MemberConverter() try: - member = await converter.convert(ctx, cmd) + member = await converter.convert(ctx, command) # If we failed to convert, just mention that an invalid command was provided except commands.converter.BadArgument: await ctx.send("That is not a valid command!")