Top Level Slash Command Data
Additional annotation for top-level slash commands.
This is only used to specify properties on the top-level command of the annotated slash command, such as the scope or top-level description.
This can be specified at most once per top-level slash command, e.g., if you have /tag create
and /tag edit
, you can annotate at most one of them.
See also
@JDASlashCommand
Properties
Represents where a command can be used.
Specifies whether the application command is disabled for everyone but administrators by default, so that administrators can further configure the command.
Short description of the command displayed on Discord.
The integration types in which this command can be installed in.
Specifies the application command scope for this command, where the command will be pushed to.