- Run
git clone https://github.com/Lorenzo0111/SpigotUpdatesBot
- Create a file named config.json and fill with all the options of the example.config.json
- Create a file named .env and fill with the database connection string
- Run
bun install
- Run
bun db:push
- Run
bun start
to start the bot
- Install pm2 with
npm i -g pm2
- Run
pm2 start --interpreter ~/.bun/bin/bun index.ts
If set to true, everyone will be able to add his plugin and his server and channel to the bot, so everyone will have the ability to use it.
If enabled, the program will start a webserver on the specified port, so you can get bot stats from there.