Skip to content

Bhatmanjusms/Auto-Channel-Bot

 
 

Repository files navigation

A star ⭐ from you means a lot to us!

Telegram bot to automate and manage channels.

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/KGN-BOTS/Auto-Channel-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 ChannelBot
  5. Run the file

    python3 channelbot.py

Environment Variables

Mandatory Vars

  • API_ID - Get this from my.telegram.org
  • API_HASH - Get this from my.telegram.org
  • BOT_TOKEN - Get this from @BotFather
  • 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 :)

  1. Automatically add caption
  2. Automatically post sticker after every message.
  3. Add URL buttons to every message.
  4. Various settings like Edit Mode, Caption Mode and Webpage Preview

To-Do

That's on you mainly...

PRs Welcome

Credits

Support

Channel :- @KGN_BOTS

Contact Me :- @KGN_OFFICIAL

:)

CREDITS :- KGN-BOTS

ForTheBadge made-with-python

ForTheBadge built-with-love

ForTheBadge makes-people-smile

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Procfile 0.1%