MCPcopy Index your code
hub / github.com/Ns-Bots/TG-RENAMER-BOT

github.com/Ns-Bots/TG-RENAMER-BOT @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
35 symbols 161 edges 12 files 2 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Renamer-Bot

OWNER OF THIS REPO:

👉 NS ANONYMOUS 🔥

A Telegram Media Rename Bot! Based on Python 3 🧘

I think this repo gonna become one of the best renamer open source 🥰.

Please Give a ⭐ if you like this repo and also try following me for more best open source codes

Open Source? Yes! Ask Me Anything ! Report Bugs!

Mapping

Deploy to Heroku 🗳

Bot Features 🔥

Required Vars 💥

Optional Vars 💬

Available Commands 🤖

Dev 🧑‍💻

TODO 🤧

Thanks And Credits 🎉

Deploy to Heroku 🗳

Press the following button to deploy in heroku.

Deploy

Bot Features 🔥

  • Renaming Telegram files as file or video.

  • Trace Channel to track the users what they are doing with your bot.

  • Password to use bot in private.

  • Permanent thumbnail support.

  • Timegap to protect bot from spamming.

  • /mode to change upload mode.

  • Forcesub users to join you channel before using your bot.

Required Vars 💥

Optional Vars 💬

  • AUTH_USERS: List of Auth User IDs separated by whitespace and who had right to use admin commands.

  • BANNED_USERS: List of banned users IDs whom you want to stop from using your bot sperate each user by whitespace.

  • BOT_PASSWORD: Give a password to your bot to make bot private and can be used by only logged users. (AUTH_USERS and OWNER can use without login)

  • CUSTOM_CAPTION: The custom caption to be added when sending the renamed File.

  • FORCE_SUB: The username of your channel without @ to force users to join your channel in order to use this bot.

  • TIME_GAP: The timegap between requests in seconds to stop user from flooding bot.

  • TRACE_CHANNEL: A telegram channel Id to send the users data who are using bot.

Available Commands 🤖

start - check whether bot is alive or not
mode - change video upload mode to file or video
showthumbnail - to check permanent thumbnail
deletethumbnail - to delete the permanent thumbnail
help - know how to use the bot
about - know about the bot
reset - (admins only) reset users database
login - (when password is given) to login to bot

Dev 🧑‍💻

TODO 🤧

  • [ ] Adding broadcast command
  • [ ] Adding ban and unban commands
  • [ ] Increasing error handlers
  • [ ] Prefix custom name
  • [ ] Some settings for Admins

Thanks And Credits 🎉

SpEcHiDe for his AnyDlBot

Dan for his Pyrogram

MaheshMalekar ❤ for teaching me python

MaxxRider 🔥 for Help & Support

======================== Thank You 💟 ====================

Core symbols most depended-on inside this repo

get_data
called by 10
renamer/database/database.py
humanbytes
called by 3
renamer/tools/progress_bar.py
update_thumb
called by 3
renamer/database/database.py
TimeFormatter
called by 2
renamer/tools/progress_bar.py
timegap_check
called by 2
renamer/tools/timegap_check.py
update_mode
called by 2
renamer/database/database.py
main
called by 1
renamer/__main__.py
take_screen_shot
called by 1
renamer/tools/progress_bar.py

Shape

Function 30
Class 3
Method 1
Route 1

Languages

Python100%

Modules by API surface

renamer/database/database.py8 symbols
renamer/plugins/commands.py6 symbols
renamer/plugins/callback.py5 symbols
renamer/tools/progress_bar.py4 symbols
renamer/plugins/thumbnail.py4 symbols
renamer/plugins/rename.py2 symbols
renamer/tools/timegap_check.py1 symbols
renamer/tools/thumbnail_fixation.py1 symbols
renamer/tools/text.py1 symbols
renamer/plugins/1.py1 symbols
renamer/config.py1 symbols
renamer/__main__.py1 symbols

For agents

$ claude mcp add TG-RENAMER-BOT \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact