Command

annotation class Command(source)

Enables this class to be scanned for one or more commands.
This is a specialization of @BService for commands.

A warning will be logged if this class does not have any commands, i.e., methods that declare commands with annotations, or methods that declare using the DSL.

See also

@BService

Declaring global application commands using the DSL

Declaring guild application commands using the DSL

@JDASlashCommand

@JDAMessageCommand

@JDAUserCommand

Declaring text commands using the DSL

@JDATextCommandVariation