Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Well, firstly, if you write a docstring to the function that implements the command, then this docstring will be used as a reference. In this case, all commands in a separate Cog class will already be grouped together.
Secondly, the @bot.command() decorator has a help parameter - if I understand correctly, it allows you to specify the command description explicitly, instead of using docstring.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question