From 3cc08f4afd9845cb4312e9bc666c355980f17871 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Fri, 23 Oct 2020 22:12:36 +0200 Subject: [PATCH] Send reminders at 7 am instead of 10 pm --- cogs/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/tasks.py b/cogs/tasks.py index 32175af..6d6e718 100644 --- a/cogs/tasks.py +++ b/cogs/tasks.py @@ -183,7 +183,7 @@ class Tasks(commands.Cog): # Don't do it multiple times a day if bot dc's, ... with open("files/lastTasks.json", "r") as fp: lastTasks = json.load(fp) - if int(self.getCurrentHour()) == 22 and int(time.time()) - int(lastTasks["remind"]) > 10000: + if int(self.getCurrentHour()) == 7 and int(time.time()) - int(lastTasks["remind"]) > 10000: reminders = Reminders() for category in reminders.categories: