static SlashCommandOption |
SlashCommandOption.create(SlashCommandOptionType type,
String name,
String description) |
Create a new slash command option to be used with an slash command builder.
|
static SlashCommandOption |
SlashCommandOption.create(SlashCommandOptionType type,
String name,
String description,
boolean required) |
Create a new slash command option to be used with an slash command builder.
|
static SlashCommandOption |
SlashCommandOption.createWithChoices(SlashCommandOptionType type,
String name,
String description,
boolean required,
List<SlashCommandOptionChoice> choices) |
Create a new slash command option to be used with an slash command builder.
|
static SlashCommandOption |
SlashCommandOption.createWithChoices(SlashCommandOptionType type,
String name,
String description,
boolean required,
SlashCommandOptionChoiceBuilder... choices) |
Create a new slash command option to be used with an slash command builder.
|
static SlashCommandOption |
SlashCommandOption.createWithOptions(SlashCommandOptionType type,
String name,
String description,
List<SlashCommandOption> options) |
Create a new subcommand or subcommand group to be used with an slash command builder.
|
static SlashCommandOption |
SlashCommandOption.createWithOptions(SlashCommandOptionType type,
String name,
String description,
SlashCommandOptionBuilder... options) |
Create a new subcommand or subcommand group to be used with an slash command builder.
|
SlashCommandOptionBuilder |
SlashCommandOptionBuilder.setType(SlashCommandOptionType type) |
Sets the type of the slash command option.
|