aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index 6d45f275..3bf4462a 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -188,7 +188,7 @@ class BotBase(GroupMixin):
yield from super().close()
@asyncio.coroutine
- def on_command_error(self, exception, context):
+ def on_command_error(self, context, exception):
"""|coro|
The default command error handler provided by the bot.