Slash command names must be between 1-32 characters and contain no capital letters, spaces, or symbols other than - and _. Slash Command Options and Choices (Discord.js v14) Important links:Discord.js series playlist. You'll be using the SlashCommandBuilder open in new window class to construct the command definitions.Īt a minimum, the definition of a slash command must have a name and a description. Make sure to also complete the other pages linked above! # Individual command filesĬreate a new folder named commands, which is where you'll store all of your command files. use the mention as an argument, you can remove the mention characters with regex, like this: yourstring.replace(/<>&.These steps can be done in any order, but all are required before the commands are fully functional.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |