One of the best Rename bot for telegram. Heroku deployable and many features.
This bot has a concept of filters which allows to auto-rename the files. This bot is aimed to be the best rename bot around.
Use of filters is easy just do what the bot says.
Filter can be added using the /filter.
update the config.py file inside the MeshRenameBot to change the config and commands.
DB_URI
- Database URL. Mongo or Postgres DB URL.
API_HASH
- Telegram API HASH.
API_ID
- Telegram API ID.
BOT_TOKEN
- Bot token. Get from bot father.
COMPLETED_STR
- Completed symbol marker.
REMAINING_STR
- Remaining symbol marker.
MAX_QUEUE_SIZE
- Max simultaneous renames. 5 is recommended can be increased.
SLEEP_SECS
- Seconds to sleep before edit. 10 is recommended can be increased.
IS_PRIVATE
- Is the bot for private use.
AUTH_USERS
- ID of the users that are allowed to use the bot. It works only when IS_PRIVATE
is True.
OWNER_ID
- ID of the owner.
FORCEJOIN
- Enter the public username url or invite link of private chat for that the user should join chat. Keep blank to disable.
FORCEJOIN_ID
- ID of the chat for which is specified in FORCEJOIN
.
TRACE_CHANNEL
- ID of the channel to which the track of the uses is sent who are using the bot. Put 0 for no tracking.
/start
- Check if the bot is running.
/rename
- Reply to media to rename /rename filename.extension
. If only /rename
is used filters will be used.
/filters
- Add/Remove Filters.
/setthumb
- Reply to image to set the thumbnail permanently.
/getthumb
- Get the thumbnail which is currently set.
/clrthumb
- Remove the thumbnail which is set.
/mode
- Change between 3 modes:-
/queue
- Gives the state of your rename and the load on bot.
python3 -m MeshRenameBot
or python -m MeshRenameBot