mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
[CustomCom] Add missing await (#4108)
This commit is contained in:
parent
583f093eb0
commit
6ab007bc1d
@ -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"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user