malte843 / mc-status-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mc-status-bot

This was build using nodejs v18.12.1

Setup:

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

Preview of /list command:

Screenshot_20221227_184421

About

License:MIT License


Languages

Language:JavaScript 100.0%