addSlashCommand

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

Adds a slash command to the builder

Return

The ISlashCommandBuilder object that was added

Parameters

name

The name of the slash command

description

The description of the slash command


Adds a new Slash Command to the builder

Parameters

slash

The Slash Command to add