1
0
Fork 0
mirror of synced 2024-05-24 06:19:39 +12:00

Convert the right thing

This commit is contained in:
Phxntxm 2017-08-06 16:22:14 -05:00
parent 6facd5794b
commit 0a90b8c05a

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, member)
member = await converter.convert(ctx, cmd)
# 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!")