Mention pitfalls of subclassing group #9383
Replies: 1 comment 4 replies
-
Considering I have no idea what you're talking about, not really. I suggest filing a bug report if something does not work as expected or to get more clarification. As it stands right now this is too vague to be actionable. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I decided to subclass
discord.app_commands.Group
. I tried making some instance attributes tied to an instance of the group, but ran into major pitfalls that eventually I solved by just making class variables instead of instance variables. Could this pitfall be noted in the docs?Beta Was this translation helpful? Give feedback.
All reactions