diff --git a/bot.py b/bot.py index 5395c85..a5fc66c 100644 --- a/bot.py +++ b/bot.py @@ -76,7 +76,7 @@ async def process_command(ctx): @bot.event -async def on_command_error(error, ctx): +async def on_command_error(ctx, error): if isinstance(error, commands.CommandNotFound): return if isinstance(error, commands.DisabledCommand):