Slash Command Option Builder
Properties
Link copied to clipboard
The option's choices.
Link copied to clipboard
Description of the option.
Must follow the Discord specifications, see the OptionData constructor for details.
Link copied to clipboard
Sets the minimum and maximum string length on the specified option.
Link copied to clipboard
Link copied to clipboard
Enables using choices from SlashParameterResolver.getPredefinedChoices.
Link copied to clipboard
Sets the minimum and maximum values on the specified option.
Functions
Link copied to clipboard
Uses an existing autocomplete handler with the specified function.
Link copied to clipboard
Uses an existing autocomplete handler with the specified name.