Slash
How to create discord slash commands
Creating slash commands
First of all, import the createCommand
function from base and ApplicationCommandType
from discord.js
See conventions to create your commands
How to create slash command
To create a slash command, you need to set name, description and type.
Slash command names cannot be empty, cannot contain special characters, capital letters or spaces
Set slash command options
You can set options, subcommands and groups too