From 4b3c1f6f798e1c360d9e4e27bdf836b35b9eca23 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Tue, 6 Dec 2022 20:37:40 +1000 Subject: [PATCH] add alarm of job fix --- handlers/coding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/coding.py b/handlers/coding.py index c83e833..841d820 100644 --- a/handlers/coding.py +++ b/handlers/coding.py @@ -6,7 +6,7 @@ from sqdb import user, session async def notify_chats(): for chats in session.query(user.chat_id).distinct(): session.close() - await bot.send_message(chats,'Ведутся пажилые работы,\n Ожидайте...') + await bot.send_message({chats},'Ведутся пажилые работы,\n Ожидайте...') await bot.send_message(226765676, 'рассылка завершена') def register_handlers_alarm(dp: Dispatcher):