ISlashCommandBuilder

Functions

Link copied to clipboard
@CheckReturnValue
abstract fun addSlashCommand(slash: SlashCommandBuilder): ISlashCommandBuilder

Adds a new Slash Command to the builder

@CheckReturnValue
abstract fun addSlashCommand(name: String, description: String): ISlashCommandBuilder

Adds a slash command to the builder

Link copied to clipboard
@CheckReturnValue
abstract fun addSlashCommands(vararg slashes: SlashCommandBuilder): ISlashCommandBuilder
@CheckReturnValue
abstract fun addSlashCommands(slashes: List<SlashCommandBuilder>): ISlashCommandBuilder

Lists of Slash Commands to the builder

Link copied to clipboard
abstract fun build()

Builds the Slash Commands

Link copied to clipboard
@CheckReturnValue
abstract fun getSlashCommands(): List<SlashCommandBuilder>

All the Slash Commands in the builder

Link copied to clipboard
@CheckReturnValue
abstract fun removeAllSlashCommands(): ISlashCommandBuilder

Removes all Slash Commands from the builder

Link copied to clipboard
@CheckReturnValue
abstract fun removeSlashCommand(slash: SlashCommandBuilder): ISlashCommandBuilder

Removes a Slash Command from the builder

Link copied to clipboard
@CheckReturnValue
abstract fun removeSlashCommands(vararg slashes: SlashCommandBuilder): ISlashCommandBuilder
@CheckReturnValue
abstract fun removeSlashCommands(slashes: List<SlashCommandBuilder>): ISlashCommandBuilder

Removes a List of Slash Commands from the builder