mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 17:32:31 -05:00
[CustomCom] Add missing await (#4108)
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user