SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addChoice(String name,
int value) |
Adds an int choice for the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addChoice(String name,
String value) |
Adds an string choice for the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addChoice(SlashCommandOptionChoice choice) |
Adds an choice for the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addOption(SlashCommandOption option) |
Adds an slash command option to the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setChoices(List<SlashCommandOptionChoice> choices) |
Sets the choices of the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setDescription(String description) |
Sets the description of the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setName(String name) |
Sets the name of the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setOptions(List<SlashCommandOption> options) |
Sets the slash commands for the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setRequired(boolean required) |
Sets if the slash command option is required.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setType(SlashCommandOptionType type) |
Sets the type of the slash command option.
|