Spaces:
Running
Running
Update akn/manage/account.py
Browse files- akn/manage/account.py +1 -1
akn/manage/account.py
CHANGED
@@ -587,7 +587,7 @@ async def userbot_new(bot: Client, cb: CallbackQuery, tiktok=False):
|
|
587 |
continue
|
588 |
if number.text.lower() == "/cancel":
|
589 |
await bot.send_message(chat.id, "Cancelled")
|
590 |
-
|
591 |
phone = number.text
|
592 |
await number.delete()
|
593 |
confirm = await cb.message.chat.ask(
|
|
|
587 |
continue
|
588 |
if number.text.lower() == "/cancel":
|
589 |
await bot.send_message(chat.id, "Cancelled")
|
590 |
+
return await client.disconnect()
|
591 |
phone = number.text
|
592 |
await number.delete()
|
593 |
confirm = await cb.message.chat.ask(
|