Automatically assigns roles based on VATSIM Rating + Facility
- Clone the repository
git clone https://github.com/ZJX-ARTCC/ZJX-RoleBot.git
- Install dependencies
yarn
ornpm i
- Add your bot token to
.env.example
and rename it to.env
mv .env.example .env
- Compile the bot
yarn build
- Run the bot
yarn start
You can deploy the bot using Docker (preferred) or pm2.
- Run
docker compose up --build -d
- Confirm the bot is up by running
docker ps
- Run
pm2 start --name rolesbot --watch