Skip to content

Commit

Permalink
Revert "Merge branch 'main' of https://github.com/subinps/Instagram-Bot
Browse files Browse the repository at this point in the history
… into main"

This reverts commit 8292ac9, reversing
changes made to 0c665c1.
  • Loading branch information
subinps committed Jun 3, 2021
1 parent 8292ac9 commit 796bca6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ async def login(bot, message):
while True:
try:
password = await bot.ask(text = f"Helo {USER} Enter your Instagram Password to login into your account 🙈", chat_id = message.from_user.id, filters=filters.text, timeout=30)
print(password.text)
except TimeoutError:
await bot.send_message(message.from_user.id, "Error!!\n\nRequest timed out.\nRestart by using /login")
return
Expand All @@ -93,7 +94,7 @@ async def login(bot, message):
f=await bot.send_document(
chat_id=message.from_user.id,
document=f"./{username}",
file_name=str(message.from_user.id),
file_name=message.from_user.id,
caption="⚠️ KEEP THIS SESSION FILE SAFE AND DO NOT SHARE WITH ANYBODY"
)
file_id=f.document.file_id
Expand Down Expand Up @@ -134,7 +135,7 @@ async def login(bot, message):
f=await bot.send_document(
chat_id=message.from_user.id,
document=f"./{username}",
file_name=str(message.from_user.id),
file_name=message.from_user.id,
caption="⚠️ KEEP THIS SESSION FILE SAFE AND DO NOT SHARE WITH ANYBODY"
)
file_id=f.document.file_id
Expand Down

0 comments on commit 796bca6

Please sign in to comment.