Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

banner

✨ Renamer rdh Bot ✨

A powerful Telegram bot to rename, add thumbnails, and set captions for your files — with clone support, broadcast, and force-subscribe.


🚀 Features

  • ✏️ 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

⚙️ Environment Variables

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)

📦 Deployment (Render)

Build Command: pip install -r requirements.txt
Start Command: python bot.py
  1. Fork/clone this repository
  2. Create a new Web Service on Render
  3. Add the environment variables listed above
  4. Deploy 🎉

🤖 Commands

/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

🧠 Tech Stack


👤 Credits

Developer   : t.me/Youradhey
Channel     : t.me/xivasudev

⭐ Support

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

About

✨ A powerful Telegram bot to rename files, add custom thumbnails & captions — with bot cloning, force-subscribe, broadcast, and admin controls. Built with Pyrogram + MongoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages