-
Notifications
You must be signed in to change notification settings - Fork 12
Metadata
Help messages are generated automatically by this framework and will by default listen to the label help
. There are two types of help messages:
An overview message containing information about all available commands...
...or a specific help message containing information about a specific command
As you can see, there is some information about the commands, like category or description, that cannot be generated automatically. This information can be specified via the @Command
annotation. The pattern {prefix}
can be used in every field of the @Command
annotation and will be replaced with the actual prefix of the guild where the help command got invoked. The default value for all attributes is N/A
and the default category is other
.
@CommandController
public class ReportCommand {
@Command(value="report", name = "report member", desc = "Reports a member", usage = "!report @Member reason", category = "Moderation")
public void onCommand(CommandEvent event) {
}
}
This wiki is the documentation for V3
(text commands)! If you're using V4
(interactions) please refer to the new documentation
Important
This wiki is the documentation for V3
(text commands)! If you're using V4
(interactions) please refer to the new documentation