From c3e052f73cd345c346cd9171a9a2c74c2a5708ac Mon Sep 17 00:00:00 2001 From: Zakhar Izmaylov Date: Sun, 24 Nov 2024 11:58:43 +0300 Subject: [PATCH] notify_inactive_trial_users --- handlers/notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/notifications.py b/handlers/notifications.py index 3bbe1bf4..5432ecc5 100644 --- a/handlers/notifications.py +++ b/handlers/notifications.py @@ -28,8 +28,8 @@ async def notify_expiring_keys(bot: Bot): logger.info("Начало обработки уведомлений.") - # await notify_inactive_trial_users(bot, conn) - # await asyncio.sleep(1) + await notify_inactive_trial_users(bot, conn) + await asyncio.sleep(1) await notify_10h_keys(bot, conn, current_time, threshold_time_10h) await asyncio.sleep(1) await notify_24h_keys(bot, conn, current_time, threshold_time_24h)