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