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