Update the current playing text of a Discord bot with the number of players on a Minecraft Server using the Minecraft Server Status API and discord.js.
Variable | Usage |
---|---|
DISCORD_BOT_TOKEN |
Token for the Discord bot to run |
MCSERVER_ADDRESS |
Address of the Minecraft server to poll |