From 67e4925011441fac3ac9d9f8b847917beb2a866c Mon Sep 17 00:00:00 2001 From: Artem Reznichenko Date: Thu, 7 Nov 2024 22:34:07 +0300 Subject: [PATCH] fix reply_to --- bot/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/bot.py b/bot/bot.py index ec3ef87..f120258 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -64,8 +64,8 @@ async def got_message(msg: Message): await bot.delete_message(msg.chat.id, msg.id, timeout=5) except Exception as e: await bot.reply_to( - message=msg.id, - text="Uoghhhh, i am not an admin here? I can't cleanup this tracking(", + msg, + "Uoghhhh, i am not an admin here? I can't cleanup this tracking(", ) print(e, flush=True) # todo: логгер return