Uses of Class
org.javacord.api.interaction.SlashCommandOptionChoiceBuilder
-
Packages that use SlashCommandOptionChoiceBuilder Package Description org.javacord.api.interaction -
-
Uses of SlashCommandOptionChoiceBuilder in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return SlashCommandOptionChoiceBuilder Modifier and Type Method Description SlashCommandOptionChoiceBuilderSlashCommandOptionChoiceBuilder. setName(String name)Sets the name of the slash command option choice.SlashCommandOptionChoiceBuilderSlashCommandOptionChoiceBuilder. setValue(int value)Sets the int value of the slash command option choice.SlashCommandOptionChoiceBuilderSlashCommandOptionChoiceBuilder. setValue(String value)Sets the string value of the slash command option choice.Methods in org.javacord.api.interaction with parameters of type SlashCommandOptionChoiceBuilder Modifier and Type Method Description static SlashCommandOptionSlashCommandOption. createWithChoices(SlashCommandOptionType type, String name, String description, boolean required, SlashCommandOptionChoiceBuilder... choices)Create a new slash command option to be used with an slash command builder.
-