CommandOptionBuilder constructor
- CommandOptionType type,
- String name,
- String description,
- {bool defaultArg = false,
- bool required = false,
- List<
ArgChoiceBuilder> ? choices, - List<
CommandOptionBuilder> ? options, - List<
ChannelType> ? channelTypes, - bool autoComplete = false,
- num? min,
- num? max,
- Map<
Locale, String> ? localizationsName, - Map<
Locale, String> ? localizationsDescription}
Used to create an argument for a SlashCommandBuilder.
Implementation
CommandOptionBuilder