StringSessionBot
StringSessionBot copied to clipboard
Pyrogram and Telethon String Session Generator
Pyrogram and Telethon String Session Bot @StarkStringGenBot
A star ⭐ from you means a lot to us!
Telegram bot to generate pyrogram and telethon string session.
Usage
Deploy to Heroku
- Tap on above button and fill
API_ID,API_HASH,BOT_TOKEN(andMUST_JOIN). - Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
- After deploying is complete, tap on "Manage App"
- Check the logs to see if your bot is ready!
Local Deploying
-
Clone the repo
git clone https://github.com/StarkBotsIndustries/StringSessionBot -
Get a
DATABASE_URL. If you don't know how, deploy using Heroku Button only or delete database things as it's not a compulsion. -
Rename
.env.sampleto.envand fill the needed variables -
Enter the directory
cd StringSessionBot -
Install all the dependencies
pip install -r requirements.txt -
Run the file
python3 bot.py
Environment Variables
Mandatory Vars
API_ID- Get this from my.telegram.orgAPI_HASH- Get this from my.telegram.orgBOT_TOKEN- Get this from @BotFatherDATABASE_URL- Will be automatically added by Heroku.MUST_JOIN- Username/ID of your telegram channel/group.
Functions
- Generate Pyrogram user string session
- Generate Pyrogram bot string session
- Generate Pyrogram (Major) Version 1 and 2 string sessions
- Generate Telethon string session
To-Do
That's on you mainly...
Credits
Support
Channel :- @StarkBots
Group Chat :- @StarkBotsChat
