/AutoFilterV2bot

A telegram bot to filter files automatically From channel to group

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Auto Filter Bot V2

You can easily find bot on tg as @AutoFilterV2bot .

Just Sent Any Text As Query It Will Search For All Connected Chat's Files In Its MongoDB And Reply You With The Message Link As A Button

Usage

How To Use Me!?

  • -> Add me to any group and make me admin
  • -> Add me to your channel as admin with full previlages

Bot Commands (Works Only In Groups) :

  • -> /add chat_id
                   OR               - To establish a connection of group with a channel (Bot should be admin with full previlages in both group and channel)
         /add @Username

  • -> /del chat_id
                   OR               - To delete a group's coneection with a channel (Use disable option from settigns pannel for disconnecting temporarily instead of deleteing)
         /del @Username

  • -> /delall                - To delete all connections of a group and deletes all its file from DB

  • -> /settings            - To disaply a Settings Pannel Instance which can be used to tweek bot's settings accordingly

    • -> Channel - Button will show you all the connected chats with the group along with there index buttons correspnding to there order for furthur controls...

    • -> Filter Types - Button will show you the 3 filter types available in bot... Pressing each buttons will either enable or disable them and this will take into action as soon as you use them...without the need of a restart....

    • -> Configure - Button will help you to change no. of pages/ buttons per page/ total result without acutally editing the repo... Also it provide option to Enable/Disable showing Invite Link in each results

    • -> Status - Button will show the stats of your current group

Pre Requisites


  • ->Your Bot Token From @BotFather

  • ->Your APP ID And API Harsh From Telegram or @UseTGXBot

  • ->Your User Session String Obtained From @PyrogramStringBot

  • ->Mongo DB URL Obtained From Mongo DB

  • ->__FORCESUB CHANNEL add fsub channel if you want users to force join a particular channel

PR's Are Very Welcome

Deploy

You can deploy this bot anywhere.

Deploy To Heroku


Deploy

Deploy To VPS

git clone https://github.com/DevelopedBots/Auto-Filter-V2-Bot/tree/blob/main
cd Adv-Auto-Filter-Bot-ReMaster
pip3 install -r requirements.txt
# Change The Vars Of bot/__init__.py File Accordingly
python3 -m bot

Support

Join Our Telegram Group For Support/Assistance And Our Channel For Updates.

Report Bugs, Give Feature Requests There..
Do Fork And Star The Repository If You Liked It.

Original credits Goes to @AlbertEinstein_TG

Disclaimer

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

Credits

NOTE

  • If bot shows something went wrong contact my support group add the bot to forcesub channel you have added on vars.