A simple Python Discord bot that displays Minecraft servers' statuses and players
You can add the public bot to your Discord
Git and Python 3.8+ are required
git clone https://github.com/dsampinski/mcstatusbot.git && cd mcstatusbot
pip install -U -r requirements.txt
python mcstatusbot.py
token
The bot's token
adminId
The Discord ID of the bot's admin (to bypass restrictions)
updateInterval
Interval (in minutes) between each status update
updateDelays
Delay of status updates when the server is inactive for a day/week
serversPerGuild
Maximum amount of servers that can be added per guild (bypassed by the bot's admin)
showPlayers
Whether to show the players list or not
/ping
Pings the bot
/add address name
Adds a server's status to the guild
/rem address
Removes a server's status from the guild
/list
Lists all servers in the guild
/admin status
Shows the status of the bot
reload
Reloads the bot's config file
shutdown
Shuts down the bot
export
Exports the database as JSON to the filesystem
*The bot must have permission to manage channels and roles