mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-06 01:51:59 +00:00
[commands] Revert on_error when cog is ejected for HelpCommand
This commit is contained in:
parent
0c2698cf28
commit
ee99036659
@ -294,6 +294,9 @@ class _HelpCommandImpl(Command):
|
|||||||
cog.walk_commands = cog.walk_commands.__wrapped__
|
cog.walk_commands = cog.walk_commands.__wrapped__
|
||||||
self.cog = None
|
self.cog = None
|
||||||
|
|
||||||
|
# Revert `on_error` to use the original one in case of race conditions
|
||||||
|
self.on_error = self._injected.on_help_command_error
|
||||||
|
|
||||||
|
|
||||||
class HelpCommand:
|
class HelpCommand:
|
||||||
r"""The base implementation for help command formatting.
|
r"""The base implementation for help command formatting.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user