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. addNameLocalization(DiscordLocale locale, java.lang.String localization)Adds a name localization for the given locale.SlashCommandOptionChoiceBuilderSlashCommandOptionChoiceBuilder. setName(java.lang.String name)Sets the name of the slash command option choice.SlashCommandOptionChoiceBuilderSlashCommandOptionChoiceBuilder. setValue(long value)Sets the long value of the slash command option choice.SlashCommandOptionChoiceBuilderSlashCommandOptionChoiceBuilder. setValue(java.lang.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, java.lang.String name, java.lang.String description, boolean required, SlashCommandOptionChoiceBuilder... choices)Create a new slash command option to be used with a slash command builder.
-