Skip to content

Latest commit

 

History

History
85 lines (62 loc) · 2.63 KB

README.md

File metadata and controls

85 lines (62 loc) · 2.63 KB

TG-RenameBot

A better rename and convert bot with upload mode option and Auto detection written in Python3 using Pyrogram!!

Installation

BEST WAY (VPS)

  • This is just a demo of commands
sudo apt install screen
screen -S anynameforscreen

git clone https://github.com/mrvishal2k2/TG-RenameBot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 bot.py

Done, now click ctrl+a,d to close screen
Now full done

To stop/remove screen
screen -r anynameforscreen
then do
Then type ctrl+a and then k.
It will ask y/n. Press y.

Developer

Required Variables

  • TG_BOT_TOKEN: Create a bot using @BotFather, and get the Telegram API token.
  • APP_ID: Get this value from telegram.org You can also get it from UseTGXBot
  • API_HASH: Get this value from telegram.org You can also get it from UseTGXBot
  • OWNER_ID: Owner's Userid for log command
  • OWNER_USERNAME: (Not mandatory) Owner's Username without @
  • CUSTOM_CAPTION: Custom Caption to use after Filename in caption

Commands

start - start the bot
help - ask help
showthumb - shows saved thumbnail
deletethumb - deletes saved thumbnail
log - admin cmd

Support

  • Join BotDunia channel

Follow on

All rights reserved

  • This is only for personal use !! Don't make a Bot channel Business with this on Telegram !!
  • Kang/Copy/Reuse of the code used here without permission and claiming to be self owning is not tolerated and will be taken actions against such acts.
  • Good to see if you give me credits if you are using the bot !!
  • Pull Requests are always accepted but shouldn't involve increasing complexity of deploying as this project mainly aims to be newbie friendly.

Credits

  • Spechide as always for his opensources which motivated me to do "best" things ❤️
  • And also everyone in this Journey for Support