add alarm of job fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-12-06 20:37:40 +10:00
parent 9cbe80b9ed
commit 4b3c1f6f79

View File

@ -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,'<b>Ведутся пажилые работы,\n Ожидайте...</b>')
await bot.send_message({chats},'<b>Ведутся пажилые работы,\n Ожидайте...</b>')
await bot.send_message(226765676, 'рассылка завершена')
def register_handlers_alarm(dp: Dispatcher):