Slash Command Builder
class SlashCommandBuilder(val name: String, val description: String, guildOnly: Boolean = false, val specificGuildOnly: Boolean = false)(source)
A builder for Slash Commands
Parameters
name
The name of the slash command.
description
The description of the slash command.
guild Only
Whether the slash command can only be used in guilds.
specific Guild Only
Whether the slash command can only be used in a specific guild/s.