From 4c5ddf48d13066de9b8a72732df7b2a530ecfe50 Mon Sep 17 00:00:00 2001 From: Conatum Date: Tue, 21 Sep 2021 09:09:16 +0300 Subject: [PATCH] fix (tasklist): Call to deactivation scheduler. --- bot/modules/todo/Tasklist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/todo/Tasklist.py b/bot/modules/todo/Tasklist.py index 4e9bbe90..aeb44c42 100644 --- a/bot/modules/todo/Tasklist.py +++ b/bot/modules/todo/Tasklist.py @@ -650,7 +650,7 @@ class Tasklist: # If we were updated in that time, go back to sleep if datetime.datetime.utcnow().timestamp() - self._refreshed_at.timestamp() < delay: - asyncio.create_task(self._schedule_deactivation) + asyncio.create_task(self._schedule_deactivation()) return # Check if lots of content has been sent since