Skip to content

Commit

Permalink
Remove references to help command
Browse files Browse the repository at this point in the history
  • Loading branch information
plun1331 committed Sep 30, 2021
1 parent ca8cb6d commit cc3df22
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions discord/cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,6 @@ def remove_cog(self, name: str) -> Optional[Cog]:
if cog is None:
return

help_command = self._help_command
if help_command and help_command.cog is cog:
help_command.cog = None
cog._eject(self)

return cog
Expand Down

0 comments on commit cc3df22

Please sign in to comment.