Skip to content

SimpleDiscordBotsJS/Discord-Template-Bot

Repository files navigation

Discord-Template-Bot

It's a template for discord bot

Advantages:

  • It's a template...
  • DJS 14
  • Handler's

Instructions

Rename config.json.example to config.json

Customizing the config.json File

{
   "BOT_TOKEN": "Enter_discord_bot_token",

   "DEV_ID": "Enter_your_discord_id"
}

The bot token can be copied in the Bot section of your application

To run locally, you need Node.JS

Start

node .

pm2

Installation pm2

Install pm2

npm install --global pm2

Startup

Starting

pm2 start . --name "Code bot" --watch

Base commands for Neophyte's

pm2 list - show all process

pm2 stop (id) - stopping process

pm2 logs (. or id) - show logs

more in pm2 -h or this and Google 😉


If you want to use nodemon and pm2


Contribution

​ Please make sure to read the Contributing Guide before sending an issue or making a pull request.

Releases

No releases published

Packages

No packages published