It's a template for discord bot
Advantages:
Instructions
{
"BOT_TOKEN": "Enter_discord_bot_token",
"DEV_ID": "Enter_your_discord_id",
"DATABASE_URL": "Enter_mongoDB_database_url",
"DEBUG_EVENT": false
}
The bot token can be copied in the Bot section of your application
node .
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.