IUserCommandBuilderImpl

Constructors

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

Functions

Link copied to clipboard
open override fun addUserCommand(userCommand: UserCommandBuilder): IUserCommandBuilder

Adds a new User Command to the builder

open override fun addUserCommand(name: String): IUserCommandBuilder

Adds a user command to the builder

Link copied to clipboard
open override fun addUserCommands(vararg userCommands: UserCommandBuilder): IUserCommandBuilder
open override fun addUserCommands(userCommands: List<UserCommandBuilder>): IUserCommandBuilder

Lists of User Commands to the builder

Link copied to clipboard
open override fun build()

Builds the User Commands

Link copied to clipboard

All the User Commands in the builder

Link copied to clipboard

Removes a User Command from the builder

Link copied to clipboard
open override fun removeUserCommands(vararg userCommands: UserCommandBuilder): IUserCommandBuilder

Removes a List of User Commands from the builder