xforever1313/Chaskis

Plugin - Add a "Is It Down" plugin

Opened this issue · 0 comments

Add a plugin that will occasionally check to see if a website is down. If it is (that is, the return code returns something other than 200), then a message should go out saying the website is down.

The message should only go out once, and a message saying "site is back online" should appear if during the next query, the site is reachable.

In addition, there should be a manual command (e.g. !isitdown url) to see if any website is down.

We should use an HTTP HEAD request. There's no need to retrieve the entire body.