- Text Filter Mode
- Season button in search mode (users can choose their season 1 - 10)
- Language Button in search mode (users can choose language of their files)
- Pm shortlink convert mode
- Shortner mode available
- Group admin Can select their shortner site and Tutorial Video
- IMDB Template Set
- Indexes Files above 2GB
- PreDVD and CamRip Delete Mode
- Multiple File Deletion
- Settings Menu
- Force Subscription
- Welcome Message
- Automatic File Filtering
- Double Filter Button
- Single Filter Button
- Bot PM File Send Mode
- Auto File Send
- Forward Restriction
- File Protection
- Manual File Filtering
- Global File Filtering
- IMDB
- Admin Commands
- User Broadcast
- Group Broadcast
- Index
- IMDB Search
- Inline Search
- Forward Restrictions
- IMDB search
- Inline Search
- Random pics
- ids and User info
- Status
- Users
- Chats
- User Ban
- User Unban
- Channel Leave
- Channel Disable
- Channel Enable
- Channel List
- Broadcast Message
- Group Broadcast Message
- Indexing
- Add Filter
- Remove Filter
- And More...
Hแดสแด Is A Bแดแด Sแดแดแดสแด โค๏ธโ๐ฅ.
๐๐ผ๐บ๐บ๐ฎ๐ป๐ฑ๐ (๐๐ผ๐ฝ๐ ๐๐ผ๐ฟ ๐๐ผ๐ ๐ณ๐ฎ๐๐ต๐ฒ๐ฟ) ๐ฅถ
start - To start the bot
shortlink - to connect your shortner
tutorial - to set your tutorial link
stats - to get statuses of files in db.
connections - To see all connected groups
settings - To open settings menu
filter - add manual filters
filters - view filters
connect - connect to PM.
disconnect - disconnect from PM
invite - to get the invite link of any chat which the bot is admin.
del - delete a filter
delall - delete all filters
deleteall - delete all indexed files.(admin)
delete - delete a specific file from index.(admin)
info - get user info
id - get tg ids.
imdb - fetch info from imdb.
search - To search from various sources
setskip - To skip number of messages when indexing files
users - to get list of my users and ids.
chats - to get list of my chats and ids
leave - to leave from a chat.(admin)
disable - do disable a chat.
enable - re-enable chat.
ban - to ban a user.(admin)
unban - to unban a user.(admin)
channel - to get list of total connected channels
broadcast - to broadcast a message to all users(admin)
grp_broadcast - To broadcast a message to all connected groups.(admin)
batch - to create link for multiple posts
link - to create link for one post
status - Your Heroku API Key to check dyno, bot uptime and bot working day prediction.
set_template - To set a custom IMDB template for individual groups
gfilter - To add global filters.
gfilters - To view list of all global filters.
delg - To delete a specific global filter.
delallg - To delete all global filters from the bot's database.
deletefiles - To delete PRE-DVD and CamRip Files from the bot's database.(admin)
logs - to get the recent errors
BOT_TOKEN
: Create a bot using @BotFather, and get the Telegram API token.API_ID
: Get this value from telegram.orgAPI_HASH
: Get this value from telegram.orgCHANNELS
: Username or ID of channel or group. Separate multiple IDs by spaceADMINS
: Username or ID of Admin. Separate multiple Admins by spaceDATABASE_URI
: mongoDB URI. Get this value from mongoDB. For more help watch this videoDATABASE_NAME
: Name of the database in mongoDB.LOG_CHANNEL
: A channel to log the activities of bot. Make sure bot is an admin in the channel.
PICS
: Telegraph links of images to show in start message.( Multiple images can be used separated by space )FILE_STORE_CHANNEL
: Channel from were file store links of posts should be made.Separate multiple IDs by space- Check info.py for more optional variables
Deploy To VPS
git clone https://github.com/Singhsawan/Pmshortner2 # Install Packages pip3 install -U -r requirements.txt Edit info.py with variables as given below then run bot python3 bot.py