A little dockerized discord bot to give minecraft server status.
Its main functionality is to create an embed that the bot will edit every 5 minutes showing the current server status:
This is not particularly well designed, so to get it working probably will take long enough that by the end you will be able to create your own. But, roughly:
- Install prerequisites: node, docker and docker-compose
- Create a discord bot using the discord developer portal
- Clone this repo,
- run
npm install
- create a file named
.env
and add your discord bot token and app idAPP_ID= TOKEN=
- Run
npm register
. This will register all the slash comands with discord. - run
docker compose up
Use /help
to see the list of commands. The status embed is started with the /runstat
command