diff --git a/src/bot/handlers.py b/src/bot/handlers.py index e3e7b3a..df30c36 100644 --- a/src/bot/handlers.py +++ b/src/bot/handlers.py @@ -25,7 +25,7 @@ def _send_tmp_message( ) -> None: bot_mes = bot.send_message(chat_id, text, parse_mode="MarkdownV2") time.sleep(timeout) - bot.delete_message(chat_id, bot_mes.id) + bot.delete_message(chat_id, bot_mes.id, timeout=5) def _base_handler(