SlashOptionChoiceProvider
Provider of choices for options of annotated slash commands.
If you wish to add choices to a command's option, you must implement this on the same declaring class.
Inheritors
Functions
Link copied to clipboard
abstract fun getOptionChoices(guild: Guild?, commandPath: CommandPath, optionName: String): List<Command.Choice>
Returns the choices available for this command path, on the specific optionName.