fix bioebmass arg
This commit is contained in:
parent
e4141534b2
commit
722a3d95af
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue