CommandOptionBuilder.string constructor
CommandOptionBuilder.string({})
Implementation
CommandOptionBuilder.string({
required this.name,
this.nameLocalizations,
required this.description,
this.descriptionLocalizations,
this.isRequired,
List<CommandOptionChoiceBuilder<String>>? this.choices,
this.minLength,
this.maxLength,
this.hasAutocomplete,
}) : type = CommandOptionType.string,
options = null,
channelTypes = null,
minValue = null,
maxValue = null;