- Download all files and gather up on one file
- Install NodeJS
- 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 commandsnode undeploy-commands.js
- delete all slash commandsnode index.js
- start the project
- Available slash commands,
/ping
&/server
&/user
&/reload
Here are some common questions related to the values you need to provide in your config.json
file:
How do I find my bot token?
Go to the Discord Developer Portal and select the bot you've created. From the left-hand sidebar, click on the Bot section. Under the Token section, click Reset Token to generate a new token. You can only view the token once after generating it. If you lose it, you'll need to reset it again.

What is a prefix?
A prefix is a character or set of characters that come before a command (e.g., `!ping`, `!user`). It tells the bot you're entering a command.
How do I find my client ID?
Go to the Discord Developer Portal and select the bot you've created. From the left-hand sidebar, click on the OAuth2 section. Under the Client information section you will find.

How do I find my guild (server) ID?
Enable Developer Mode in your Discord settings. Then, right-click your server’s name and select "Copy Server ID".

Go to the Discord Developer Portal and press Claim Badge button. For more information go to the Discord Support Article.
This Discord Bot is under the [GNU Lesser General Public License, v3.0].