Slash Command Builder
constructor(name: String, description: String, guildOnly: Boolean = false, specificGuildOnly: Boolean = false)(source)
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.