[commands] Fix default error handler to work with the switch.

This commit is contained in:
Rapptz 2017-05-10 19:36:46 -04:00
parent 5106feaf57
commit 8ef984746a

View File

@ -188,7 +188,7 @@ class BotBase(GroupMixin):
yield from super().close() yield from super().close()
@asyncio.coroutine @asyncio.coroutine
def on_command_error(self, exception, context): def on_command_error(self, context, exception):
"""|coro| """|coro|
The default command error handler provided by the bot. The default command error handler provided by the bot.