Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Latest commit

 

History

History
16 lines (14 loc) · 798 Bytes

readme.md

File metadata and controls

16 lines (14 loc) · 798 Bytes

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

  1. Clone the repo with: git clone https://github.com/kNoAPP/mcmotd.git
  2. Navigate to the project folder, open a shell
  3. Install the node_modules with with: npm install
  4. Get your MongoDB URI and Discord token info ready.
  5. Input this information in the setup script: node setup (Note, if you don't want to use MongoDB, leave the URI field blank)
  6. Start the bot with npm start
  7. Add the Discord bot to a server and type !ping <domain/ip> (ex. !ping mcdiamondfire.com)