/Anni

An advance automatic filter bot for filtering files and media in a telegram chat mostly for movie Groups. Join @TamilBots for More.

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Auto-search-tamil-bot Logo

TAMIL-FILTER-BOT

Typing SVG

πΉπ‘’π‘Žπ‘‘π‘’π‘Ÿπ‘’π‘ 

  • 𝐼𝑀𝐷𝐡 π‘‡π‘’π‘šπ‘π‘™π‘Žπ‘‘π‘’ 𝑆𝑒𝑑
  • 𝐼𝑛𝑑𝑒π‘₯𝑒𝑠 𝐹𝑖𝑙𝑒𝑠 π‘Žπ‘π‘œπ‘£π‘’ 2𝐺𝐡
  • π‘ƒπ‘Ÿπ‘’π·π‘‰π· π‘Žπ‘›π‘‘ πΆπ‘Žπ‘šπ‘…π‘–π‘ 𝐷𝑒𝑙𝑒𝑑𝑒 π‘€π‘œπ‘‘π‘’
  • 𝑀𝑒𝑙𝑑𝑖𝑝𝑙𝑒 𝐹𝑖𝑙𝑒 π·π‘’π‘™π‘’π‘‘π‘–π‘œπ‘›
  • 𝑆𝑒𝑑𝑑𝑖𝑛𝑔𝑠 𝑀𝑒𝑛𝑒
  • πΉπ‘œπ‘Ÿπ‘π‘’ π‘†π‘’π‘π‘ π‘π‘Ÿπ‘–π‘π‘‘π‘–π‘œπ‘›
  • π‘Šπ‘’π‘™π‘π‘œπ‘šπ‘’ π‘€π‘’π‘ π‘ π‘Žπ‘”π‘’
  • π΄π‘’π‘‘π‘œπ‘šπ‘Žπ‘‘π‘–π‘ 𝐹𝑖𝑙𝑒 πΉπ‘–π‘™π‘‘π‘’π‘Ÿπ‘–π‘›π‘”
  • π·π‘œπ‘’π‘π‘™π‘’ πΉπ‘–π‘™π‘‘π‘’π‘Ÿ π΅π‘’π‘‘π‘‘π‘œπ‘›
  • 𝑆𝑖𝑛𝑔𝑙𝑒 πΉπ‘–π‘™π‘‘π‘’π‘Ÿ π΅π‘’π‘‘π‘‘π‘œπ‘›
  • π΅π‘œπ‘‘ 𝑃𝑀 𝐹𝑖𝑙𝑒 𝑆𝑒𝑛𝑑 π‘€π‘œπ‘‘π‘’
  • π΄π‘’π‘‘π‘œ 𝐹𝑖𝑙𝑒 𝑆𝑒𝑛𝑑
  • πΉπ‘œπ‘Ÿπ‘€π‘Žπ‘Ÿπ‘‘ π‘…π‘’π‘ π‘‘π‘Ÿπ‘–π‘π‘‘π‘–π‘œπ‘›
  • 𝐹𝑖𝑙𝑒 π‘ƒπ‘Ÿπ‘œπ‘‘π‘’π‘π‘‘
  • π‘€π‘Žπ‘›π‘’π‘Žπ‘™ 𝐹𝑖𝑙𝑒 πΉπ‘–π‘™π‘‘π‘’π‘Ÿπ‘–π‘›π‘”
  • πΊπ‘™π‘œπ‘π‘Žπ‘™ 𝐹𝑖𝑙𝑒 πΉπ‘–π‘™π‘‘π‘’π‘Ÿπ‘–π‘›π‘”
  • 𝐼𝑀𝐷𝐡
  • π΄π‘‘π‘šπ‘–π‘› πΆπ‘œπ‘šπ‘šπ‘Žπ‘›π‘‘π‘ 
  • π‘ˆπ‘ π‘’π‘Ÿ π΅π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘
  • πΊπ‘Ÿπ‘œπ‘’π‘ π΅π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘
  • 𝐼𝑛𝑑𝑒π‘₯
  • 𝐼𝑀𝐷𝐡 π‘ π‘’π‘Žπ‘Ÿπ‘β„Ž
  • 𝐼𝑛𝑙𝑖𝑛𝑒 π‘†π‘’π‘Žπ‘Ÿπ‘β„Ž
  • π‘…π‘Žπ‘›π‘‘π‘œπ‘š 𝑝𝑖𝑐𝑠
  • 𝑖𝑑𝑠 π‘Žπ‘›π‘‘ π‘ˆπ‘ π‘’π‘Ÿ π‘–π‘›π‘“π‘œ
  • π‘†π‘‘π‘Žπ‘‘π‘ 
  • π‘ˆπ‘ π‘’π‘Ÿπ‘ 
  • πΆβ„Žπ‘Žπ‘‘π‘ 
  • π‘ˆπ‘ π‘’π‘Ÿ π΅π‘Žπ‘›
  • π‘ˆπ‘ π‘’π‘Ÿ π‘ˆπ‘›π‘π‘Žπ‘›
  • πΆβ„Žπ‘Žπ‘‘ πΏπ‘’π‘Žπ‘£π‘’
  • πΆβ„Žπ‘Žπ‘‘ π·π‘–π‘ π‘Žπ‘π‘™π‘’
  • πΆβ„Žπ‘Žπ‘›π‘›π‘’π‘™
  • 𝑆𝑝𝑒𝑙𝑙𝑖𝑛𝑔 πΆβ„Žπ‘’π‘π‘˜ πΉπ‘’π‘Žπ‘‘π‘’π‘Ÿπ‘’
  • 𝐹𝑖𝑙𝑒 π‘†π‘‘π‘œπ‘Ÿπ‘’
  • π΄π‘’π‘‘π‘œ 𝐷𝑒𝑙𝑒𝑑𝑒
  • 𝐴𝑛𝑑 π‘€π‘œπ‘Ÿπ‘’...

π‘‡π‘œ π‘˜π‘›π‘œπ‘€ π‘Žπ‘π‘œπ‘’π‘‘ π‘Žπ‘™π‘™ π‘“π‘’π‘Žπ‘‘π‘’π‘Ÿπ‘’π‘ , π½π‘œπ‘–π‘› π‘œπ‘’π‘Ÿ π‘’π‘π‘‘π‘Žπ‘‘π‘’π‘  π‘β„Žπ‘Žπ‘›π‘›π‘’π‘™.

πΆπ‘œπ‘šπ‘šπ‘Žπ‘›π‘‘π‘ 

β€’ /invite - π‘‘π‘œ 𝑔𝑒𝑑 π‘‘β„Žπ‘’ 𝑖𝑛𝑣𝑖𝑑𝑒 π‘™π‘–π‘›π‘˜ π‘œπ‘“ π‘Žπ‘›π‘¦ π‘β„Žπ‘Žπ‘‘ π‘€β„Žπ‘–π‘β„Ž π‘‘β„Žπ‘’ π‘π‘œπ‘‘ 𝑖𝑠 π‘Žπ‘‘π‘šπ‘–π‘›.
β€’ /logs - π‘‘π‘œ 𝑔𝑒𝑑 π‘‘β„Žπ‘’ π‘Ÿπ‘’π‘ π‘π‘’π‘›π‘‘ π‘’π‘Ÿπ‘Ÿπ‘œπ‘Ÿπ‘ 
β€’ /stats - π‘‘π‘œ 𝑔𝑒𝑑 π‘ π‘‘π‘Žπ‘‘π‘’π‘  π‘œπ‘“ 𝑓𝑖𝑙𝑒𝑠 𝑖𝑛 𝑑𝑏.
β€’ /connections - π‘‡π‘œ 𝑠𝑒𝑒 π‘Žπ‘™π‘™ π‘π‘œπ‘›π‘›π‘’π‘π‘‘π‘’π‘‘ π‘”π‘Ÿπ‘œπ‘’π‘π‘ 
β€’ /settings - π‘‡π‘œ π‘œπ‘π‘’π‘› 𝑠𝑒𝑑𝑑𝑖𝑛𝑔𝑠 π‘šπ‘’π‘›π‘’
β€’ /filter - π‘Žπ‘‘π‘‘ π‘šπ‘Žπ‘›π‘’π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ 
β€’ /filters - 𝑣𝑖𝑒𝑀 π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ 
β€’ /connect - π‘π‘œπ‘›π‘›π‘’π‘π‘‘ π‘‘π‘œ 𝑃𝑀.
β€’ /disconnect - π‘‘π‘–π‘ π‘π‘œπ‘›π‘›π‘’π‘π‘‘ π‘“π‘Ÿπ‘œπ‘š 𝑃𝑀
β€’ /del - 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Ž π‘“π‘–π‘™π‘‘π‘’π‘Ÿ
β€’ /delall - 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Žπ‘™π‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ 
β€’ /deleteall - 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Žπ‘™π‘™ 𝑖𝑛𝑑𝑒π‘₯𝑒𝑑 𝑓𝑖𝑙𝑒𝑠.
β€’ /delete - 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Ž 𝑠𝑝𝑒𝑐𝑖𝑓𝑖𝑐 𝑓𝑖𝑙𝑒 π‘“π‘Ÿπ‘œπ‘š 𝑖𝑛𝑑𝑒π‘₯.
β€’ /info - 𝑔𝑒𝑑 π‘’π‘ π‘’π‘Ÿ π‘–π‘›π‘“π‘œ
β€’ /id - 𝑔𝑒𝑑 𝑑𝑔 𝑖𝑑𝑠.
β€’ /imdb - π‘“π‘’π‘‘π‘β„Ž π‘–π‘›π‘“π‘œ π‘“π‘Ÿπ‘œπ‘š π‘–π‘šπ‘‘π‘.
β€’ /search - π‘‡π‘œ π‘ π‘’π‘Žπ‘Ÿπ‘β„Ž π‘“π‘Ÿπ‘œπ‘š π‘£π‘Žπ‘Ÿπ‘–π‘œπ‘’π‘  π‘ π‘œπ‘’π‘Ÿπ‘π‘’π‘ 
β€’ /start - π‘‡π‘œ π‘ π‘‘π‘Žπ‘Ÿπ‘‘ π‘‘β„Žπ‘’ π‘π‘œπ‘‘
β€’ /setskip - π‘‡π‘œ π‘ π‘˜π‘–π‘ π‘›π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π‘šπ‘’π‘ π‘ π‘Žπ‘”π‘’π‘  π‘€β„Žπ‘’π‘› 𝑖𝑛𝑑𝑒π‘₯𝑖𝑛𝑔 𝑓𝑖𝑙𝑒𝑠
β€’ /users - π‘‘π‘œ 𝑔𝑒𝑑 𝑙𝑖𝑠𝑑 π‘œπ‘“ π‘šπ‘¦ π‘’π‘ π‘’π‘Ÿπ‘  π‘Žπ‘›π‘‘ 𝑖𝑑𝑠.
β€’ /chats - π‘‘π‘œ 𝑔𝑒𝑑 𝑙𝑖𝑠𝑑 π‘œπ‘“ π‘‘β„Žπ‘’ π‘šπ‘¦ π‘β„Žπ‘Žπ‘‘π‘  π‘Žπ‘›π‘‘ 𝑖𝑑𝑠 
β€’ /leave  - π‘‘π‘œ π‘™π‘’π‘Žπ‘£π‘’ π‘“π‘Ÿπ‘œπ‘š π‘Ž π‘β„Žπ‘Žπ‘‘.
β€’ /disable  -  π‘‘π‘œ π‘‘π‘–π‘ π‘Žπ‘π‘™π‘’ π‘Ž π‘β„Žπ‘Žπ‘‘.
β€’ /enable - π‘Ÿπ‘’-π‘’π‘›π‘Žπ‘π‘™π‘’ π‘β„Žπ‘Žπ‘‘.
β€’ /ban  - π‘‘π‘œ π‘π‘Žπ‘› π‘Ž π‘’π‘ π‘’π‘Ÿ.
β€’ /unban  - π‘‘π‘œ π‘’π‘›π‘π‘Žπ‘› π‘Ž π‘’π‘ π‘’π‘Ÿ.
β€’ /channel - π‘‘π‘œ 𝑔𝑒𝑑 𝑙𝑖𝑠𝑑 π‘œπ‘“ π‘‘π‘œπ‘‘π‘Žπ‘™ π‘π‘œπ‘›π‘›π‘’π‘π‘‘π‘’π‘‘ π‘β„Žπ‘Žπ‘›π‘›π‘’π‘™π‘ 
β€’ /broadcast - π‘‘π‘œ π‘π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘ π‘Ž π‘šπ‘’π‘ π‘ π‘Žπ‘”π‘’ π‘‘π‘œ π‘Žπ‘™π‘™ π‘’π‘ π‘’π‘Ÿπ‘ 
β€’ /grp_broadcast - π‘‡π‘œ π‘π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘ π‘Ž π‘šπ‘’π‘ π‘ π‘Žπ‘”π‘’ π‘‘π‘œ π‘Žπ‘™π‘™ π‘π‘œπ‘›π‘›π‘’π‘π‘‘π‘’π‘‘ π‘”π‘Ÿπ‘œπ‘’π‘π‘ .
β€’ /batch - π‘‘π‘œ π‘π‘Ÿπ‘’π‘Žπ‘‘π‘’ π‘™π‘–π‘›π‘˜ π‘“π‘œπ‘Ÿ π‘šπ‘’π‘™π‘‘π‘–π‘π‘™π‘’ π‘π‘œπ‘ π‘‘π‘ 
β€’ /link - π‘‘π‘œ π‘π‘Ÿπ‘’π‘Žπ‘‘π‘’ π‘™π‘–π‘›π‘˜ π‘“π‘œπ‘Ÿ π‘œπ‘›π‘’ π‘π‘œπ‘ π‘‘
β€’ /status - π‘Œπ‘œπ‘’π‘Ÿ π»π‘’π‘Ÿπ‘œπ‘˜π‘’ 𝐴𝑃𝐼 𝐾𝑒𝑦 π‘‘π‘œ π‘β„Žπ‘’π‘π‘˜ π‘‘π‘¦π‘›π‘œ, π‘π‘œπ‘‘ π‘’π‘π‘‘π‘–π‘šπ‘’ π‘Žπ‘›π‘‘ π‘π‘œπ‘‘ π‘€π‘œπ‘Ÿπ‘˜π‘–π‘›π‘” π‘‘π‘Žπ‘¦ π‘π‘Ÿπ‘’π‘‘π‘–π‘π‘‘π‘–π‘œπ‘›.
β€’ /set_template - π‘‡π‘œ 𝑠𝑒𝑑 π‘Ž π‘π‘’π‘ π‘‘π‘œπ‘š 𝐼𝑀𝐷𝑏 π‘‘π‘’π‘šπ‘π‘™π‘Žπ‘‘π‘’ π‘“π‘œπ‘Ÿ π‘–π‘›π‘‘π‘–π‘£π‘–π‘‘π‘’π‘Žπ‘™ π‘”π‘Ÿπ‘œπ‘’π‘π‘ 
β€’ /gfilter - π‘‡π‘œ π‘Žπ‘‘π‘‘ π‘”π‘™π‘œπ‘π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ .
β€’ /gfilters - π‘‡π‘œ 𝑣𝑖𝑒𝑀 𝑙𝑖𝑠𝑑 π‘œπ‘“ π‘Žπ‘™π‘™ π‘”π‘™π‘œπ‘π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ .
β€’ /delg - π‘‡π‘œ 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Ž 𝑠𝑝𝑒𝑐𝑖𝑓𝑖𝑐 π‘”π‘™π‘œπ‘π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿ.
β€’ /delallg - π‘‡π‘œ 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Žπ‘™π‘™ π‘”π‘™π‘œπ‘π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘  π‘“π‘Ÿπ‘œπ‘š π‘‘β„Žπ‘’ π‘π‘œπ‘‘'𝑠 π‘‘π‘Žπ‘‘π‘Žπ‘π‘Žπ‘ π‘’.
β€’ /deletefiles - π‘‡π‘œ 𝑑𝑒𝑙𝑒𝑑𝑒 π‘ƒπ‘Ÿπ‘’π·π‘‰π· π‘Žπ‘›π‘‘ πΆπ‘Žπ‘šπ‘…π‘–π‘ 𝐹𝑖𝑙𝑒𝑠 π‘“π‘Ÿπ‘œπ‘š π‘‘β„Žπ‘’ π‘π‘œπ‘‘'𝑠 π‘‘π‘Žπ‘‘π‘Žπ‘π‘Žπ‘ π‘’.

Variables

Required Variables

  • BOT_TOKEN: Create a bot using @BotFather, and get the Telegram API token.
  • API_ID: Get this value from telegram.org
  • API_HASH: Get this value from telegram.org
  • CHANNELS: Username or ID of channel or group. Separate multiple IDs by space
  • ADMINS: Username or ID of Admin. Separate multiple Admins by space
  • DATABASE_URI: mongoDB URI. Get this value from mongoDB. For more help watch this video
  • DATABASE_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.

Optional Variables

  • 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 Heroku


Deploy To Heroku

Deploy To Koyeb
The fastest way to deploy the application is to click the Deploy to Koyeb button below.

Deploy to Koyeb

Deploy To Render
Use these commands:

β€’ Build Command: pip3 install -U -r requirements.txt

β€’ Start Command: python3 bot.py

Go to https://uptimerobot.com/ and add a monitor to keep your bot alive.

Use these settings when adding a monitor:


render template

Click on the below button to deploy directly to render ↓

Deploy to Render
Deploy To VPS

git clone https://github.com/TamilBots/Auto-search-tamil-bot
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py


Credits

  • EvaMaria-Devs
  • Joel-TGX
  • Contact
  • TamilBots
  • Contact

Thanks to

Note 🏷️

  • Importing this repo instead of forking is strictly prohibited 🚫 Kindly fork and edit as your wish (Must Give Credits for devs) πŸ™ƒ
  • If you find any bugs or errors, report it to the developer.
  • Contact Developer

Note To A So Called Dev:

Kanging this codes and and editing a few lines and releasing a V.x or an alpha, beta , gama branches of your repo won't make you a Developer. Fork the repo and edit as per your needs.

Disclaimer

GNU Affero General Public License 2.0
Licensed under GNU AGPL 2.0. Selling The Codes To Other People For Money Is Strictly Prohibited.

Inspiration

This is an attempt to create a clone of a BOAT made out of banana trees 🌳

For Vaza pip3 install -U -r requirements.txt Edit info.py with variables as given below then run bot python3 bot.py