diff --git a/jarvis/cogs/error.py b/jarvis/cogs/error.py index b8284b1..9b03007 100644 --- a/jarvis/cogs/error.py +++ b/jarvis/cogs/error.py @@ -40,7 +40,7 @@ class ErrorHandlerCog(commands.Cog): f"Error processing command:\n```{error}```", hidden=True, ) - ctx.command.reset_cooldown(ctx) + ctx.slash.commands[ctx.command].reset_cooldown(ctx) def setup(bot):