SlashCommandBuilder |
SlashCommandBuilder.addOption(SlashCommandOption option) |
Adds a slash command option to the slash command.
|
static SlashCommandBuilder |
SlashCommand.createPrefilledSlashCommandBuilder(SlashCommand slashCommand) |
Create a new prefilled slash command builder from the given slash command.
|
SlashCommandBuilder |
SlashCommandBuilder.setOptions(java.util.List<SlashCommandOption> options) |
Sets the slash commands for the slash command.
|
static SlashCommandBuilder |
SlashCommand.with(java.lang.String name,
java.lang.String description) |
Create a new slash command builder with the given name and description.
|
static SlashCommandBuilder |
SlashCommand.with(java.lang.String name,
java.lang.String description,
java.util.List<SlashCommandOption> options) |
Create a new slash command builder with the given name, description and options.
|
static SlashCommandBuilder |
SlashCommand.with(java.lang.String name,
java.lang.String description,
SlashCommandOptionBuilder... options) |
Create a new slash command builder with the given name, description and options.
|
static SlashCommandBuilder |
SlashCommand.withRequiredPermissions(java.lang.String name,
java.lang.String description,
java.util.EnumSet<PermissionType> requiredPermissions) |
Create a new slash command builder with the given name and description.
|
static SlashCommandBuilder |
SlashCommand.withRequiredPermissions(java.lang.String name,
java.lang.String description,
java.util.List<SlashCommandOption> options,
java.util.EnumSet<PermissionType> requiredPermissions) |
Create a new slash command builder with the given name, description and options.
|
static SlashCommandBuilder |
SlashCommand.withRequiredPermissions(java.lang.String name,
java.lang.String description,
java.util.List<SlashCommandOption> options,
PermissionType... requiredPermissions) |
Create a new slash command builder with the given name, description and options.
|
static SlashCommandBuilder |
SlashCommand.withRequiredPermissions(java.lang.String name,
java.lang.String description,
PermissionType... requiredPermissions) |
Create a new slash command builder with the given name and description.
|