Skip to content

Pycomet/growth-bot

Repository files navigation

Issues MIT License LinkedIn


Telegram Growth Bot

The primary function of this bot is to grow telegram groups to unbelievably huge number of members.
Explore the docs »

View Demo · Report Bug · Request Feature

About The Project

This is a custom built telegram bot script application to add users embedded in a User Friendly process oriented bot to handle the onbarding and smooth flow of the service provided. Which is extracting users from specified target groups and adding them into the user's own group.

Here are the processes followed

After initiating the /start command;

  1. The bot requests for the group you would like to extract members from ? (it has to be a group with members and not a channel with subscribers)

  2. The bot requests for an index point to start the adding process from. This basically helps you start off from where you left off the previous day after extract from the group used in step 1.

NOW IS THE BOT'S TURN 🤓

  1. Th first thing the bot does is fetch all the client sessions it has access to as preconfigured. All into a list.

  2. Using each of the sessions, one at a time. The bot used the client user to add the extracted user into the target group with a maximum of 50 on each client (Maximum number of adds per day).

The index is always registered to the runtime memory, so whichever the client that is used. The application is not going over the same users twice.

... And after all is done, the bot signifies, the number of users added, the number of failed attempts and finally says bye, hoping to see you in around 24hours.

Built With

This application is built with python entirely. With functionalities pulled from the telethon and PyTelegramBotAPI libraries.

Usage

To use this application as your own, follow these simple steps;

  • Fork this repository (git clone https://github.com/Pycomet/growth-bot.git)

  • Create a .env file with the following data

    • TOKEN - This is the telegram bot token from @botfather
    • GROUP - The target telegram group you wish to grow
    • API_ID - Telegram api access details
    • API_HASH - Telegram api access details
    • SERVER_URL - Pre-defined web hook to be used for the app
    • ADMIN1 - Admin telegram ID for special access
  • Goto config.py and set DEBUG to "True" to run locally and "False" to run in production (With involves following the deployment process)

  • Run the entrypoint file python bot.py

Enjoy!

Show your support

Give a ⭐️ if this project helped you!

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Codefred - www.codefred.me

env -> (growthbotenv)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published