copy and paste it on bot father /mybots and click your bot and click on edit bot then click edit commands and paste it on there
start - 𝗙𝗼𝗿 𝗦𝘁𝗮𝗿𝘁 😄
stats - 𝗙𝗼𝗿 𝗖𝗵𝗲𝗰𝗸 𝗦𝘁𝗮𝘁𝘀 📈
broadcast - 𝘽𝙧𝙤𝙖𝙙𝙘𝙖𝙨𝙩 💠
delete - 𝘿𝙚𝙡𝙚𝙩𝙚 🗑
song - 𝗗𝗼𝘄𝗻𝗹𝗼𝗮𝗱 𝗦𝗼𝗻𝗴 🎶
video - 𝗗𝗼𝘄𝗻𝗹𝗼𝗮𝗱 𝗩𝗶𝗱𝗲𝗼 🎬
mp4 - 𝗗𝗼𝘄𝗻𝗹𝗼𝗮𝗱 𝗩𝗶𝗱𝗲𝗼 🎬
users - 𝗟𝗶𝘀𝘁 𝗢𝗳 𝗨𝘀𝗲𝗿𝘀 🧍♂
chats - 𝗟𝗶𝘀𝘁 𝗢𝗳 𝗚𝗿𝗼𝘂𝗽𝘀 👫
id - 𝗜𝗱 𝗢𝗳 𝗧𝗵𝗲 𝗨𝘀𝗲𝗿 👩🏻💻
info - 𝗗𝗲𝘁𝗮𝗶𝗹𝘀 𝗔𝗯𝗼𝘂𝘁 𝗧𝗵𝗲 𝗨𝘀𝗲𝗿 👩🏻💻
leave - 𝗧𝗼 𝗟𝗲𝗮𝘃𝗲 𝗙𝗿𝗼𝗺 𝗔 𝗚𝗿𝗼𝘂𝗽 🚶🏻♂
ban - 𝗙𝗼𝗿 𝗕𝗮𝗻 𝗔 𝗨𝘀𝗲𝗿 🚫
unban - 𝗙𝗼𝗿 𝗨𝗻𝗯𝗮𝗻 𝗔 𝗨𝘀𝗲𝗿 ♻️
- Auto Filter
- Manuel Filter
- IMDB
- Admin Commands
- Broadcast
- Index
- IMDB search
- Fun mode
- Inline Search
- Random pics
- ids and User info
- Stats, Users, Chats, Ban, Unban, Leave, Disable, Channel
#Hard Way
# Create virtual environment
python3 -m venv env
# Activate virtual environment
env\Scripts\activate.bat # For Windows
source env/bin/activate # For Linux or MacOS
# Install Packages
pip3 install -r requirements.txt
# Edit info.py with variables as given below then run bot
python3 bot.py
Check sample_info.py
before editing info.py
file
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. For more help watch this videoLOG_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 seperated by space )- Check info.py for more
- Currently the API used in this repo is allowing 1000 requests per day. You may not get posters if its crossed. Once a poster is fetched from OMDB , poster is saved to DB to reduce duplicate requests.
channel - Get basic infomation about channels
total - Show total of saved files
delete - Delete file from database
index - Index all files from channel.
logger - Get log file
- You can use
|
to separate query and file type while searching for specific type of file. For example:Avengers | video
- If you don't want to create a channel or group, use your chat ID / username as the channel ID. When you send a file to a bot, it will be saved in the database.