[CustomCom] Add missing await (#4108)

This commit is contained in:
Ryan 2020-07-23 17:37:31 -04:00 committed by GitHub
parent 583f093eb0
commit 6ab007bc1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -464,7 +464,7 @@ class CustomCommands(commands.Cog):
try: try:
cmd = await self.commandobj.get_full(ctx.message, command_name) cmd = await self.commandobj.get_full(ctx.message, command_name)
except NotFound: except NotFound:
ctx.send(_("I could not not find that custom command.")) await ctx.send(_("I could not not find that custom command."))
return return
responses = cmd["response"] responses = cmd["response"]