slash command builder documentation
So let's get started! Slash Command Builders Ping command import { SlashCommandBuilder } from '@discordjs/builders' ; // Create a slash command builder const pingCommand = new SlashCommandBuilder ( ) . Look for. When part of an app, they can be easily installed for your workspace as an single workspace app or shared with the world, distributed to other workspaces via the App Directory. Adds a command parameter to the parameters collection. It is now read-only.