SlashBuilderImpl

class SlashBuilderImpl(yde: YDEImpl, guildIds: MutableList<String>, applicationId: String) : ISlashCommandBuilder(source)

Constructors

Link copied to clipboard
constructor(yde: YDEImpl, guildIds: MutableList<String>, applicationId: String)

Functions

Link copied to clipboard

Adds a new Slash Command to the builder

open override fun addSlashCommand(name: String, description: String): ISlashCommandBuilder

Adds a slash command to the builder

Link copied to clipboard
open override fun addSlashCommands(vararg slashes: SlashCommandBuilder): ISlashCommandBuilder

Lists of Slash Commands to the builder

Link copied to clipboard
open override fun build()

Builds the Slash Commands

Link copied to clipboard

All the Slash Commands in the builder

Link copied to clipboard

Removes all Slash Commands from the builder

Link copied to clipboard

Removes a Slash Command from the builder

Link copied to clipboard

Removes a List of Slash Commands from the builder