A great command handling feature for Discord servers!
- Create a new application from Discord Developer Portal and build a bot.
- Then add bot to server from auth part.
- Give a permission to Discord bot (for load slash commands)
https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&scope=applications.commands
. - Open the
config.json
configuration file and write your bot token. - Open a new terminal from project folder then run
app.js
file. (Example run command:node app.js
)
NAME VALUE
SUB_COMMAND 1
SUB_COMMAND_GROUP 2
STRING 3
INTEGER 4
BOOLEAN 5
USER 6
CHANNEL 7
ROLE 8
If you have anything stuck in your mind, you can clear your questions here: Slash Command Docs
(!) If there is something that can be added to this project or if you have found anything missing in this project, you can let us know and help us improve the project! Let us know!