Uses of Interface
org.javacord.api.interaction.SlashCommandOptionChoice
-
Packages that use SlashCommandOptionChoice Package Description org.javacord.api.interaction org.javacord.api.interaction.internal -
-
Uses of SlashCommandOptionChoice in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return SlashCommandOptionChoice Modifier and Type Method Description SlashCommandOptionChoiceSlashCommandOptionChoiceBuilder. build()Builds the slash command option choice.static SlashCommandOptionChoiceSlashCommandOptionChoice. create(java.lang.String name, long value)Create a new option choice builder to be used with a command option builder.static SlashCommandOptionChoiceSlashCommandOptionChoice. create(java.lang.String name, java.lang.String value)Create a new option choice builder to be used with a command option builder.Methods in org.javacord.api.interaction that return types with arguments of type SlashCommandOptionChoice Modifier and Type Method Description java.util.List<SlashCommandOptionChoice>SlashCommandOption. getChoices()Gets all choices for this option.Methods in org.javacord.api.interaction with parameters of type SlashCommandOptionChoice Modifier and Type Method Description SlashCommandOptionBuilderSlashCommandOptionBuilder. addChoice(SlashCommandOptionChoice choice)Adds a choice for the slash command option.Method parameters in org.javacord.api.interaction with type arguments of type SlashCommandOptionChoice Modifier and Type Method Description static SlashCommandOptionSlashCommandOption. createWithChoices(SlashCommandOptionType type, java.lang.String name, java.lang.String description, boolean required, java.util.List<SlashCommandOptionChoice> choices)Create a new slash command option to be used with a slash command builder.java.util.concurrent.CompletableFuture<java.lang.Void>AutocompleteInteraction. respondWithChoices(java.util.List<SlashCommandOptionChoice> choices)Respond with a list of choices that the user should be able to pick of based on his input.SlashCommandOptionBuilderSlashCommandOptionBuilder. setChoices(java.util.List<SlashCommandOptionChoice> choices)Sets the choices of the slash command option. -
Uses of SlashCommandOptionChoice in org.javacord.api.interaction.internal
Methods in org.javacord.api.interaction.internal that return SlashCommandOptionChoice Modifier and Type Method Description SlashCommandOptionChoiceSlashCommandOptionChoiceBuilderDelegate. build()Builds the slash command option choice.Methods in org.javacord.api.interaction.internal with parameters of type SlashCommandOptionChoice Modifier and Type Method Description voidSlashCommandOptionBuilderDelegate. addChoice(SlashCommandOptionChoice choice)Adds a choice for the slash command option.Method parameters in org.javacord.api.interaction.internal with type arguments of type SlashCommandOptionChoice Modifier and Type Method Description voidSlashCommandOptionBuilderDelegate. setChoices(java.util.List<SlashCommandOptionChoice> choices)Sets the choices of the slash command option.
-