mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-13 17:29:50 +00:00
[commands] Fix default error handler to work with the switch.
This commit is contained in:
parent
5106feaf57
commit
8ef984746a
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user