Skip to content

Phnexd/TG-String-Bot

 
 

Repository files navigation

Pyrogram and Telethon String Session Bot String Session Bot

A star ⭐ from you means a lot to us!

Telegram bot to generate pyrogram and telethon string session.

Open Source Love svg1

Note

Typing SVG

Usage

Deploy to Heroku

Deploy

  1. Tap on above button and fill API_ID, API_HASH, BOT_TOKEN (and MUST_JOIN).
  2. Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
  3. After deploying is complete, tap on "Manage App"
  4. Check the logs to see if your bot is ready!

Local Deploying

  1. Clone the repo

    git clone https://github.com/New-Dev3/TG-String-Bot
  2. 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.

  3. Edit Config.py and fill the needed variables

  4. Enter the directory

    cd TG-String-Bot
  5. Run the file

    python3 generator.py

Environment Variables

Mandatory Vars

  • API_ID - Get this from my.telegram.org
  • API_HASH - Get this from my.telegram.org
  • BOT_TOKEN - Get the bot token from Bot Father .
  • DATABASE_URL - Will be automatically added by Heroku.
  • MUST_JOIN - Username/ID of your telegram channel/group.

Functions

More features soon if suggested by you :)

To-Do

That's on you mainly...

PRs Welcome

Credits

Support

Channel :- Master X Bot's Updates

Group Chat :- Group support

:)

ForTheBadge made-with-python

ForTheBadge built-with-love

ForTheBadge makes-people-smile

About

String Session Bot, Telethon/Pyrogram Strings Via This Bot

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.8%
  • Procfile 0.2%