fix reply_to
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user