A simple task to check whether or not a website is online.
Find a file
2022-08-09 18:55:06 +02:00
README.md Update README.md 2022-08-09 18:55:06 +02:00
requirements.txt Add init 2022-08-09 18:26:55 +02:00
server_status_check.hy Add init 2022-08-09 18:26:55 +02:00

Discord.py-Server-Status-Check-Hylang

A simple task to check whether or not a website is online written in Hy. This server check will post an update as to whether or not a URL is available at 1 hour intervals in a specified Discord channel.

Setup

  1. Install the requirements.
  2. Have a Discord.py bot (Quickstart available at https://discordpy.readthedocs.io/en/stable/quickstart.html)
  3. Import hy
  4. Import server_status_check
  5. Somewhere in your code run server_status_check.do_check.start([INSERT YOUR BOT INSTANCE HERE], [INSERT THE CHANNEL ID HERE], [INSERT YOUR URL HERE])
  6. Run the bot.