git clone https://github.com/jdjdpsjsjdlsk/mc-status-bot.git
cd mc-status-bot
npm install
Fill your token, appid, rcon host, port and password in config.json
For first start run node deploy-commands.js
or npm run updateCommands
to register commands to discord. You only need to do this once or if you happen to add commands or change description or something.
Start the script with npm run start
or node .
and wait for the message that says Bot is online!
To test the bot run /list
on discord server where your bot is in.
Commands also work in dm with bot