This discord bot all built by me using Node.js with Discord.js module.
- Download all files and gather up on one file
- Install NodeJS - https://nodejs.org/en/
- Open CMD or PowerShell on file
- Write
npm i discord.js
then press enter - Write
npm install
then press enter - Edit the
config.json
with your information - Write
node deploy-commands.js
then press enter - Finally you can run your bot. Write
node index.js
then press enter
node deploy-commands.js
- register slash commands
node removeall-commands.js
- delete all slash commands
node index.js
- start the project
Available slash commands, /ping
& /server
& /user