Fix missing
Browse files
akn/manage/bots_manage.py
CHANGED
@@ -100,7 +100,7 @@ async def asksessionstringub(client: Client, callback: CallbackQuery):
|
|
100 |
reply_markup=None
|
101 |
)
|
102 |
try:
|
103 |
-
string_msg = await client.listen(
|
104 |
if string_msg.text.lower() == "/cancel":
|
105 |
await string_msg.reply(
|
106 |
"❌ Cancelled.",
|
|
|
100 |
reply_markup=None
|
101 |
)
|
102 |
try:
|
103 |
+
string_msg = await client.listen(callback.message.chat.id, timeout=60)
|
104 |
if string_msg.text.lower() == "/cancel":
|
105 |
await string_msg.reply(
|
106 |
"❌ Cancelled.",
|