choices property
final
The choices for this command.
The keys are what is displayed in the Discord UI when the user selects your command and the values are what actually get sent to your command.
The values can be either String
s or ints.
You might also be interested in:
- CommandOptionChoiceBuilder, the nyxx_interactions builder these entries are converted to.
Implementation
final Map<String, dynamic> choices;