Slash Command Option
Represents a Discord input option of a slash command.
Properties
Link copied to clipboard
The choices manually set on this option.
Link copied to clipboard
The executable command this parameter is from.
Link copied to clipboard
The name of this option in the command/aggregator.
Link copied to clipboard
The description of this option.
Link copied to clipboard
The name of this option as shown on Discord.
Link copied to clipboard
Whether this option's value can be null
.
Link copied to clipboard
Whether this option's value can be omitted.
Link copied to clipboard
Whether this option's value can either be omitted or null
Link copied to clipboard
Whether this option's value is required.
Link copied to clipboard
Whether this option is part of vararg parameter.
Link copied to clipboard
A parameter from either the command function, or from an aggregation function.
Link copied to clipboard
The allowed length of this option.
Link copied to clipboard
The allowed number range of this option.
Link copied to clipboard
Whether this option uses choices given by SlashParameterResolver.getPredefinedChoices.