A powerful Telegram bot to rename, add thumbnails, and set captions for your files — with clone support, broadcast, and force-subscribe.
- ✏️ Rename any document/video with a custom filename
- 🖼️ Add Thumbnail to your files
- 📝 Add Caption before sending
- 🧬 Clone This Bot — anyone can host their own copy using their bot token
- 🔒 Force Subscribe — users must join required channels (main bot only)
- 📢 Broadcast — admin can forward a message to all users
- 🚫 Ban / Unban — admin can restrict users
- 💬 Feedback System — user feedback forwarded to a private channel
- 🗄️ MongoDB — persistent storage for users, bans, and clones
| Variable | Description |
|---|---|
API_ID |
Telegram API ID from my.telegram.org |
API_HASH |
Telegram API Hash |
BOT_TOKEN |
Bot token from @BotFather |
ADMIN |
Your Telegram user ID |
PORT |
Port for the health-check web server (e.g. 8080) |
MONGO_URL |
MongoDB connection string |
PYTHON_VERSION |
3.11.9 (recommended on Render) |
Build Command: pip install -r requirements.txt
Start Command: python bot.py- Fork/clone this repository
- Create a new Web Service on Render
- Add the environment variables listed above
- Deploy 🎉
/start - Start the bot
/clone - Clone this bot with your own token
/feedback - Send feedback to the developer
/broad - (Admin) Broadcast a replied message to all users
/ban <id> - (Admin) Ban a user
/unban <id> - (Admin) Unban a user
Developer : t.me/Youradhey
Channel : t.me/xivasudev
If you found this project useful, consider giving it a star!
👉 Click here to star this repo
https://github.com/diractory/file-rename.git
Made with ❤️ by @Youradhey
