SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addChannelType(ChannelType channelType) |
Adds a channel type to the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addChoice(java.lang.String name,
int value) |
Adds an int choice for the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addChoice(java.lang.String name,
java.lang.String value) |
Adds a string choice for the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addChoice(SlashCommandOptionChoice choice) |
Adds a choice for the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addDescriptionLocalization(DiscordLocale locale,
java.lang.String localization) |
Adds a description localization for the given locale.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addNameLocalization(DiscordLocale locale,
java.lang.String localization) |
Adds a name localization for the given locale.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.addOption(SlashCommandOption option) |
Adds a slash command option to the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setAutocompletable(boolean autocompletable) |
Sets if this option can be autocompleted.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setChannelTypes(java.util.Collection<ChannelType> channelTypes) |
Sets the channel types for the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setChoices(java.util.List<SlashCommandOptionChoice> choices) |
Sets the choices of the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setDecimalMaxValue(double decimalMaxValue) |
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setDecimalMinValue(double decimalMinValue) |
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setDescription(java.lang.String description) |
Sets the description of the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setLongMaxValue(long longMaxValue) |
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setLongMinValue(long longMinValue) |
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setMaxLength(long maxLength) |
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setMinLength(long minLength) |
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setName(java.lang.String name) |
Sets the name of the slash command option.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setOptions(java.util.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.
|