Exclude send info update message

This commit is contained in:
2023-02-02 23:10:35 +02:00
parent 507877096f
commit f735b691e4
3 changed files with 8 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ async def announce():
message = "Ошибка обновления данных!"
if config.admin_user is not None:
for user_id in config.admin_user:
if user_id in config.exclude_send_msg:
continue
await dp.bot.send_message(user_id, message)