Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix help command in cogs #233

Merged
merged 3 commits into from
Nov 2, 2021
Merged

Fix help command in cogs #233

merged 3 commits into from
Nov 2, 2021

Conversation

plun1331
Copy link
Member

@plun1331 plun1331 commented Sep 30, 2021

Summary

This PR fixes the following exception:

Traceback (most recent call last):
  File "c:/Users/cplun/Documents/GitHub/pycord/test.py", line 9, in <module>
    bot.remove_cog('cog')
  File "c:\Users\cplun\Documents\GitHub\pycord\discord\cog.py", line 587, in remove_cog
    help_command = self._help_command
AttributeError: 'Bot' object has no attribute '_help_command'

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, typehinting, ...)

@BobDotCom
Copy link
Member

I think it may be added at some point

@plun1331 plun1331 changed the title Remove references to help command in cogs Fix help command in cogs Oct 13, 2021
@Lulalaby Lulalaby added bug Something isn't working priority: medium Medium Priority status: planned Planned in the future labels Oct 30, 2021
BobDotCom
BobDotCom previously approved these changes Nov 2, 2021
@BobDotCom BobDotCom changed the base branch from feature/slash to master November 2, 2021 15:19
@BobDotCom BobDotCom dismissed their stale review November 2, 2021 15:19

The base branch was changed.

@BobDotCom BobDotCom merged commit d33d03a into Pycord-Development:master Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: medium Medium Priority status: planned Planned in the future
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants