/status-bot

Simple Status Bot for Discord, basically status.io but for discord.

Primary LanguageTypeScriptDo What The F*ck You Want To Public LicenseWTFPL

Setup:

Prerequirements (no Docker):

  • Nodejs installed
  • MongoDB installed

Prerequirements (with Docker):

(Still needs Nodejs installed!)

Run the command

npm run dc:up

to start a MongoDB Container so you dont have to insall MongoDB. To stop it run

npm run dc:down

Steps:

  1. Rename example.env to .env and fill in your config values

    mv example.env .env

    (command for unix systems)


  1. Set up the monitoring.

    Rename monitors.example.json to monitors.json and configure your monitor(s).


  1. Install dependencies

    npm install

  1. Run the Bot

    npm start

Commands:

Theres only one command:

statusmsg

Use it to post a statusmessage in the channel of your choosing (the message will be posted in the channel where you send the command). This message will then be updated continiously.

Screenshots:

Service available:

Service Up

Service unavailable:

Service Down