charsibot.js is a Discord bot used in Charsibel's server. This is not a general purpose bot, and is intended to be used in a specific server.
- Clone the repository:
git clone https://github.com/lukeramljak/charsibot.js.git
- Install dependencies:
npm install
- Create an
.env
file using the provided.env.example
- During development, use
npm run dev
to trigger a reload on save - Run the bot:
npm run start
- Install PM2 globally (if not already installed):
npm install -g pm2
- Start the bot with PM2:
pm2 start index.js --name charsibot
- To view logs:
pm2 logs charsibot
- To stop the bot:
pm2 stop charsibot
- To restart the bot:
pm2 restart charsibot
- To view all running processes:
pm2 list