Way to write commands #8984
Replies: 2 comments 13 replies
-
@jbaumgarten I personally would recommend the use of cogs, as documented here This way you can load cogs and put organized groups of commands within a cog |
Beta Was this translation helpful? Give feedback.
-
Subclass If you really want to stick with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I have a code looking like the following:
I want to write the code in a class like
I have found that @bot.event can be directly added in the class like
But how should I proceed to add a command?
Thx :)
Beta Was this translation helpful? Give feedback.
All reactions