fix reply_to

This commit is contained in:
2024-11-07 22:34:07 +03:00
parent 29f05bb030
commit 67e4925011

View File

@ -64,8 +64,8 @@ async def got_message(msg: Message):
await bot.delete_message(msg.chat.id, msg.id, timeout=5) await bot.delete_message(msg.chat.id, msg.id, timeout=5)
except Exception as e: except Exception as e:
await bot.reply_to( await bot.reply_to(
message=msg.id, msg,
text="Uoghhhh, i am not an admin here? I can't cleanup this tracking(", "Uoghhhh, i am not an admin here? I can't cleanup this tracking(",
) )
print(e, flush=True) # todo: логгер print(e, flush=True) # todo: логгер
return return