static SlashCommandOption |
SlashCommandOption.create(SlashCommandOptionType type,
java.lang.String name,
java.lang.String description) |
Create a new slash command option to be used with a slash command builder.
|
static SlashCommandOption |
SlashCommandOption.create(SlashCommandOptionType type,
java.lang.String name,
java.lang.String description,
boolean required) |
Create a new slash command option to be used with a slash command builder.
|
static SlashCommandOption |
SlashCommandOption.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.
|
static SlashCommandOption |
SlashCommandOption.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.
|
static SlashCommandOption |
SlashCommandOption.createWithOptions(SlashCommandOptionType type,
java.lang.String name,
java.lang.String description,
java.util.List<SlashCommandOption> options) |
Create a new subcommand or subcommand group to be used with a slash command builder.
|
static SlashCommandOption |
SlashCommandOption.createWithOptions(SlashCommandOptionType type,
java.lang.String name,
java.lang.String description,
SlashCommandOptionBuilder... options) |
Create a new subcommand or subcommand group to be used with a slash command builder.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setType(SlashCommandOptionType type) |
Sets the type of the slash command option.
|