mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 08:17:47 +00:00
[commands] Revert on_error when cog is ejected for HelpCommand
This commit is contained in:
parent
33243f9bd6
commit
0871b34fc8
@ -294,6 +294,9 @@ class _HelpCommandImpl(Command):
|
||||
cog.walk_commands = cog.walk_commands.__wrapped__
|
||||
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:
|
||||
r"""The base implementation for help command formatting.
|
||||
|
Loading…
x
Reference in New Issue
Block a user