1
0
Fork 0
mirror of synced 2024-05-18 19:42:28 +12:00

Convert the right thing

This commit is contained in:
Phxntxm 2017-08-06 16:24:03 -05:00
parent 0a90b8c05a
commit 151b3c4ebf

View file

@ -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!")