diff --git a/modules/healthcheck.py b/modules/healthcheck.py new file mode 100644 index 00000000..0b13af0d --- /dev/null +++ b/modules/healthcheck.py @@ -0,0 +1,9 @@ +#--require-config healthcheck-url + +from src import ModuleManager, utils + +class Module(ModuleManager.BaseModule): + @utils.hook("cron") + @utils.kwarg("schedule", "*/10") + def ten_minutes(self, event): + utils.http.request(self.bot.config["healthcheck-url"])