Giter Club home page Giter Club logo

rename-bot's Introduction

Rename-Bot

This is a very simple Telegram Files Rename Bot by @AbirHasan2005.

Features

  • Rename Videos, Documents or Audios without downloading the file.
  • Change video title, audio track title, subtitle track title.
  • Permanent Custom Thumbnail Support.
  • Very User-Friendly.
  • MongoDB Based Database.
  • Time Gap Support.
  • Broadcast Message to Users in Database.
  • Use Default Video Thumbnail after Rename. It will not Generate New if Video already has thumbnail.
  • Heroku Deployable :)

BotFather Commands:

start - Start Bot
help - How to use this bot?
rename - Rename file
video_info - Change video metadata
set_thumbnail - Set Custom Thumbnail
show_thumbnail - Show Custom Thumbnail
delete_thumbnail - Delete Custom Thumbnail
broadcast - Broadcast Message. (Admin Only)
status - Show Users Count in DB. (Admin Only)

Support Group

Deploy to Heroku

Easy to Deploy to Heroku.

Video Tutorial:

YouTube

Press Below Button to Deploy!

Deploy

Thanks to subinps for helping

Inspired from @HK_Rename_Bot & @AHToolsBot

Follow on:

rename-bot's People

Contributors

abirhasan2005 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rename-bot's Issues

user status module

plz add user status module. it is on the main.py but no module added to helpers

Not attribute error

Jb m upload. As document option ko on kr deta hu to ye errors aata h

Failed to Rename File!

Error: 'NoneType' object has no attribute 'thumbs'

Traceback: Traceback (most recent call last):
File "/app/bot/plugins/rename.py", line 93, in rename_handler
await handle_big_rename(c, m, file_id, file_name, editable, file_type)
File "/app/bot/core/handlers/big_rename.py", line 134, in handle_big_rename
if m.reply_to_message.document.thumbs
AttributeError: 'NoneType' object has no attribute 'thumbs'

PRO_USERS is not working

I want to use this bot for private purpose, but after deploying the bot goes public, do anything.

Heroku Ban issue

bro while using this repo i get ban on heroku my two accounts got banned πŸ™πŸ˜₯ please fix

Attribute Error

  1. I am getting following error while trying to rename :-

Traceback (most recent call last):
File "/home/runner/Rename-Bot/bot/plugins/rename.py", line 93, in rename_handler
await handle_big_rename(c, m, file_id, file_name, editable, file_type)
File "/home/runner/Rename-Bot/bot/core/handlers/big_rename.py", line 68, in handle_big_rename
thumb_path = await fix_thumbnail(thumb_path)
File "/home/runner/Rename-Bot/bot/core/fixes.py", line 10, in fix_thumbnail
metadata = extractMetadata(createParser(thumb_path))
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/hachoir/parser/guess.py", line 139, in createParser
stream.close()
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/hachoir/stream/input.py", line 415, in close
self._input.close()
AttributeError: 'InputPipe' object has no attribute 'close'

  1. Any help in resolving the issue is highly appreciated.

bug

broadcast and status not working

Add Broadcast

please add broadcast to this repo. i think it is missing in main.py

Feature

Hy sir plz add a feature which is -- bot also add watermark in video
Plz sir humble request
Or give me some hint that i can add it myself
Plz sir

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.