Check if your server is on or off for the time interval you want. Discord instant notification script.
pip install -r requirements.txt
Then set config.json and start main.py
Install screen package for linux
Then type
screen -S downbot
python3 main.py
Then press ctrl+a+d
If you want check logs , type
screen -r downbot
Then for quit press ctrl+a+d
Key | Description | Value Type |
---|---|---|
serverips |
List of your ip addresses you want check | array |
webhookurl |
The webhook url of the channel you want to receive notifications | str |
looptime |
Checker refresh second | str |
downmsg |
The message to be sent to your channel when the server downs (You can add mentions) | str |