From bddcef7134f56e842793c8837f83de5b1974df96 Mon Sep 17 00:00:00 2001 From: yasirarism <55983182+yasirarism@users.noreply.github.com> Date: Tue, 16 May 2023 04:38:39 +0000 Subject: [PATCH] fix --- misskaty/plugins/session_generator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/misskaty/plugins/session_generator.py b/misskaty/plugins/session_generator.py index 344d5816..2c97d206 100644 --- a/misskaty/plugins/session_generator.py +++ b/misskaty/plugins/session_generator.py @@ -170,7 +170,6 @@ async def generate_session(bot, msg, telethon=False, is_bot: bool = False): 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)) elif telethon: - try: await client.start(bot_token=phone_number) else: await client.sign_in_bot(phone_number)