This is a fork, creds to the guy who wrote it! https://github.com/finlaysawyer/discord-uptime
Discord bot that sends HTTPS requests and checks for 200 response.
Built using discord.py 1.5.x and ping3 libraries
Requires Python 3.6+
Install dependencies:
pip install -r requirements.txt
Bot setup (Rename config.example.json and edit the default values):
token- Discord bot tokennotification_channel- Channel ID where down/up notifications will be sentrole_to_mention- Role ID which will be tagged in down/up notificationssecs_between_ping- How many seconds between each uptime check
No privileged intents are currently needed to run the bot.
Servers setup:
To add more servers to ping, simply add a new object and specify the name and address in servers.json
Default Prefix: >
ping <address> [pings]- Pings an address once, or for the amount specified via pingsstatus- Displays the status of all servers
Status Command
Uptime & Downtime Notifications

