From 722a3d95af78133bfe079abba673d3a14f4b4221 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 19 Dec 2024 15:40:53 +0300 Subject: [PATCH] fix bioebmass arg --- src/autobioebbing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/autobioebbing.py b/src/autobioebbing.py index 4aea00a..0dedb10 100644 --- a/src/autobioebbing.py +++ b/src/autobioebbing.py @@ -329,6 +329,9 @@ async def eb(client, c, conn, con, d, get_id, my_id, message_q): arg = int(arg[1]) except: 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) when = int(datetime.timestamp(event.date)) t = reply.raw_text