Slash Subcommand Group Builder
Properties
Link copied to clipboard
Purely for debugging purposes, will be shown in exceptions.
Link copied to clipboard
Short description of the subcommand group. May be displayed on Discord.
Link copied to clipboard
The parent of this command, null
for top-level commands.
Link copied to clipboard
The complete path that leads to this command.
Functions
Link copied to clipboard
abstract fun subcommand(name: String, function: KFunction<Any>, block: SlashSubcommandBuilder.() -> Unit = {})
Adds a subcommand, must not contain any spaces and no upper cases.