A powerful Telegram bot written in Python using Pyrogram, designed to automate channel and group workflows.
GitHub Repo: @0AiB/wroxen
-
Auto Filter
Search messages using keyword filters. (RequiresUSER_SESSION) -
Auto Caption
Automatically adds a preset caption when new posts are made in a channel. -
Auto Forward
Forwards every new post from one channel to another automatically. -
Existing Messages Forward
Forward old messages from source channel to destination on command.
| Variable | Description |
|---|---|
BOT_TOKEN |
Telegram bot token from @BotFather |
APP_ID |
Telegram API ID from my.telegram.org |
API_HASH |
Telegram API Hash from my.telegram.org |
USER_SESSION |
String session of a Telegram user account – must be joined in all relevant channels/groups. |
ADMIN_IDS |
Space-separated Telegram user IDs who are admins of the bot |
DB_URL |
MongoDB URI (Use MongoDB Atlas) |
- Fork this repo: @0AiB/wroxen
- Go to https://app.koyeb.com
- Click Create App
- Choose GitHub and connect your forked repo
- Configure:
- Build Pack: Python
- Start Command:
python3 bot.py
- Add environment variables from the table above
- Click Deploy
✅ Koyeb has a generous free tier and runs continuously.
- Fork the repo
- Go to https://render.com
- Click New Web Service
- Connect your GitHub fork
- Set:
- Environment: Python
- Start Command:
python3 bot.py
- Add all environment variables
- Deploy
- The USER_SESSION account must be a member of message search channel (auto filter)
- The bot also needs permission to post messages in the destination.
- MongoDB is used for saving filters and configs.
- Keep your token and string session private.
MIT License
GitHub: @0AiB
Project: github.com/0AiB/wroxen