Fix on_slash_command_error reset_cooldown
This commit is contained in:
parent
155ca221fa
commit
f0d2bd1b37
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class ErrorHandlerCog(commands.Cog):
|
||||||
f"Error processing command:\n```{error}```",
|
f"Error processing command:\n```{error}```",
|
||||||
hidden=True,
|
hidden=True,
|
||||||
)
|
)
|
||||||
ctx.command.reset_cooldown(ctx)
|
ctx.slash.commands[ctx.command].reset_cooldown(ctx)
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
|
|
Loading…
Add table
Reference in a new issue