mcmotd
A Discord bot written in NodeJS. This bot can be used to run !ping <domain/ip> in a Discord channel and get a direct response from a Minecraft server. The response includes the favicon, ip, player count, description, color scheme, version, and timestamp.
Dependencies
- NodeJS (12+)
- npm (6+)
Setup
- Clone the repo with:
git clone https://github.com/kNoAPP/mcmotd.git
- Navigate to the project folder, open a shell
- Install the node_modules with with:
npm install
- Get your MongoDB URI and Discord token info ready.
- Input this information in the setup script:
node setup
(Note, if you don't want to use MongoDB, leave the URI field blank) - Start the bot with
npm start
- Add the Discord bot to a server and type !ping <domain/ip> (ex. !ping mcdiamondfire.com)