Convert the right thing
This commit is contained in:
parent
0a90b8c05a
commit
151b3c4ebf
1 changed files with 1 additions and 1 deletions
|
@ -949,7 +949,7 @@ class Administration:
|
||||||
# If a command wasn't provided, see if a user was
|
# If a command wasn't provided, see if a user was
|
||||||
converter = commands.converter.MemberConverter()
|
converter = commands.converter.MemberConverter()
|
||||||
try:
|
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
|
# If we failed to convert, just mention that an invalid command was provided
|
||||||
except commands.converter.BadArgument:
|
except commands.converter.BadArgument:
|
||||||
await ctx.send("That is not a valid command!")
|
await ctx.send("That is not a valid command!")
|
||||||
|
|
Loading…
Reference in a new issue