-
-
Notifications
You must be signed in to change notification settings - Fork 464
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: change default attribute of SlashCommandGroup
#2303
fix: change default attribute of SlashCommandGroup
#2303
Conversation
Couldn't we just replace |
Also please stick to naming conventions of pull requests. |
Signed-off-by: Dasupergrasskakjd <[email protected]>
I reviewed some code and decided there's no reason for the cog attribute to ever be MISSING. Would you like to modify this pull request to make that attribute default to None instead? |
I'm also not sure about why would it be MISSING, but when I run the code described in #2302 it does raise that error |
You got me wrong, I understand that you get that error because the attribute defaults to MISSING and that's what the code is supposed to do. I just don't see the point in that anymore so I think we should replace the default MISSING value with None. |
Yes sorry |
SlashCommandGroup
Thanks, I'll finish this up. |
I've run the code provided in the issue and the bug seems to have been fixed, merging 👍 |
Signed-off-by: Dorukyum <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meow meow
…ent#2303) * Update core.py and changelog * Update core.py * Update core.py * Update core.py * chore: update changelog * fix: remove all references to cog being MISSING --------- Signed-off-by: Dasupergrasskakjd <[email protected]> Co-authored-by: Dorukyum <[email protected]>
Summary
Fixes #2302
Information
examples, ...).
Checklist
type: ignore
comments were used, a comment is also left explaining why.