๐ Starting the bot
December 2, 2019 ยท View on GitHub
Haven't set up the bot yet? Check out Setting up the bot first!
Windows
- To start the bot, double-click on
start.batin the bot's folder - To shut down the bot, close the console window
- To restart the bot, close the console window and then double-click on
start.batagain
Linux / macOS / Advanced on Windows
The following assumes basic knowledge about using command line tools.
- Before first start-up and after every update, run
npm ciin the bot's folder - Run
npm startin the bot's folder to start the bot
Process managers
If you're using a process manager like PM2, the command to run is npm start.
A PM2 process file, modmailbot-pm2.json, is included in the repository.