Fix on_slash_command_error reset_cooldown

This commit is contained in:
Zeva Rose 2021-08-04 10:11:59 -06:00
parent 155ca221fa
commit f0d2bd1b37

View file

@ -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):