Renamer-Bot
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
Mapping
Deploy to Heroku ๐ณ
Press the following button to deploy in heroku.
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 ๐ฅ
-
API_HASH:
Get this value from my.telegram.org. -
API_KEY:
Get this value from my.telegram.org. -
BOT_TOKEN:
Get the bot token from Bot Father -
OWNER_ID:
Your Telegram user id, Get this value from @FileStore_Nsbot
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
Thanks And Credits ๐
MaheshMalekar โค for teaching me python