Discord bot for displaying info of a minecraft server
The main feature of the bot is displaying player count in the bot's discord presence. mcbot-rs also supports the following command:
mcbot-rs requires 2 environmental variables tokens/keys.
MC_BOT_TOK
MC_BOT_ADDR
MC_BOT_PORT
Once you have these variables, update the .env file with the values.
Build image
docker build -t mcbot .
Run built image
docker run --rm --env-file .env --name mcbot mcbot
This token is required in order for the program to communicate with discord via a bot.
You can get this token from https://discord.com/developers/applications. Steps are:
Bot tab on the left hand sideAdd BotMC_BOT_TOKOAuth2 create an OAuth url with the scope of bot and the permission to send messages
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Content type
Image
Digest
Size
30.8 MB
Last updated
about 5 years ago
docker pull hpmason/mcbot