Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.25 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.25 KB

BotStatusChecker

A bot that send alerts in a defined channel when slected bots are down.

Invite link: Click here

Warning: You need to enable the PRESENCE INTENT and the SERVER MEMBERS INTENT intents in the developer page of your bot.

Requirements

You need Node.JS v16.6.0 or higher and npm installed.

Setup and launch

Rename the file config.json.exemple to config.json and the file .env.exemple to .env

Configuration options (config.json file)

{
    "prefix": "YOUR_PREFIX", // prefix of message commands
    "interval_check_in_second": 15, // interval between check in second, default : 15
    "bot_server": "SERVER_ID", // server id where bots are in to check them.
    "whitelistUsers": ["USERS", "ID"] // whitelised user list to use some admin only command
}

Enviroment config

TOKEN=REPLACE_THIS_BY_YOUR_TOKEN

Launch

Run node index.js in a cmd open in the folder of the bot

Todo-list

  • Multi-channel support
  • Adding the choice of the bots that are supervised
  • Multi-language support