mirror of
https://github.com/Anthial/Discord.py-Hy-Server-Status-Check.git
synced 2026-03-15 15:51:16 +01:00
A simple task to check whether or not a website is online.
- Hy 100%
| README.md | ||
| requirements.txt | ||
| server_status_check.hy | ||
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
- Install the requirements.
- Have a Discord.py bot (Quickstart available at https://discordpy.readthedocs.io/en/stable/quickstart.html)
- Import hy
- Import server_status_check
- 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])
- Run the bot.