mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-08 12:54:51 +00:00
fix
This commit is contained in:
parent
5ae9b0e493
commit
bddcef7134
1 changed files with 0 additions and 1 deletions
|
|
@ -170,7 +170,6 @@ async def generate_session(bot, msg, telethon=False, is_bot: bool = False):
|
||||||
except (PasswordHashInvalid, PasswordHashInvalidError):
|
except (PasswordHashInvalid, PasswordHashInvalidError):
|
||||||
return await two_step_msg.reply("» The password you've sent is wrong.\n\nPlease start generating session again.", quote=True, reply_markup=InlineKeyboardMarkup(gen_button))
|
return await two_step_msg.reply("» The password you've sent is wrong.\n\nPlease start generating session again.", quote=True, reply_markup=InlineKeyboardMarkup(gen_button))
|
||||||
elif telethon:
|
elif telethon:
|
||||||
try:
|
|
||||||
await client.start(bot_token=phone_number)
|
await client.start(bot_token=phone_number)
|
||||||
else:
|
else:
|
||||||
await client.sign_in_bot(phone_number)
|
await client.sign_in_bot(phone_number)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue