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