Skip to content

SimpleDiscordBotsJS/CodeMasterDiscordBot

Repository files navigation

CodeM Discord Bot


Instructions

Configuration 1. Go to `Structures/`
2. Rename `.env.example` to `.env`
3. Change `.env`
 # Discord Bot Token
 BOT_TOKEN = 

 # MongoDB url
 DATABASE_URL = 

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 "CodeM 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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •