fix bioebmass arg

This commit is contained in:
Your Name 2024-12-19 15:40:53 +03:00
parent e4141534b2
commit 722a3d95af

View file

@ -329,6 +329,9 @@ async def eb(client, c, conn, con, d, get_id, my_id, message_q):
arg = int(arg[1]) arg = int(arg[1])
except: except:
await event.edit('Argument should be integer from 1 to 10') await event.edit('Argument should be integer from 1 to 10')
else:
arg = None
reply = await client.get_messages(event.peer_id, ids=event.reply_to.reply_to_msg_id) reply = await client.get_messages(event.peer_id, ids=event.reply_to.reply_to_msg_id)
when = int(datetime.timestamp(event.date)) when = int(datetime.timestamp(event.date))
t = reply.raw_text t = reply.raw_text