Skip to content

Commit

Permalink
Create Eaglestring.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Badhacker98 committed Sep 1, 2024
1 parent 0f9a669 commit 9498ff4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Eaglestring.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import os

os.system("pip install telethon")
from telethon.sessions import StringSession
from telethon.sync import TelegramClient

okvai = input("Enter 69 to continue: ")
if okvai == "69":
print("Please go to my.telegram.org and get your API Id and API Hash to proceed.")
APP_ID = int(input("Enter APP ID here: "))
API_HASH = input("Enter API HASH here: ")

with TelegramClient(StringSession(), APP_ID, API_HASH) as client:
print(client.session.save())
client.send_message("me", client.session.save())
client.send_message(
"me",
"Above is your #EAGLEBOT STRING SESSION \nPaste this string in Heroku Var",
)

else:
print("ʙsᴅᴋ ʀᴇᴘᴏ ᴍᴇ sᴛʀɪɴɢ ᴍᴀᴛ ʀᴀᴋʜɴᴀ ᴠᴀʀɴᴀ ɪᴅ ᴄʜᴏᴅɪ ᴊᴀᴇ ɢɪ")

0 comments on commit 9498ff4

Please sign in to comment.