This commit is contained in:
2019-03-14 10:41:28 +03:00
parent 3b922b6cb8
commit 67a0f8f068
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ def _process_message(bot: Bot, m: Message):
del conn.root.users[uid]
commit()
bot.send_message(MANAGEMENT_CHAT, f'<a href="tg://user?id={uid}">{name}</a> был удален '
f'из-за блокировки бота')
f'из-за блокировки бота', parse_mode='html')
except TelegramError:
sentry_sdk.capture_exception()