Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TroJanzHEX/Auto-Filter-Bot-V2
https://github.com/TroJanzHEX/Auto-Filter-Bot-V2
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/TroJanzHEX/Auto-Filter-Bot-V2
- Owner: TroJanzHEX
- License: mit
- Created: 2021-03-09T11:45:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-07T17:00:29.000Z (almost 3 years ago)
- Last Synced: 2024-08-09T13:13:24.949Z (7 months ago)
- Language: Python
- Size: 48.8 KB
- Stars: 97
- Watchers: 4
- Forks: 496
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-telegram - Auto Filter Bot V2
- awesome-telegram - Auto Filter Bot V2
README
# Auto Filter Bot V2
[](https://telegram.dog/TroJanzHEX)
ㅤㅤㅤㅤㅤㅤㅤ
[](https://telegram.dog/TroJanzSupport) [](https://TroJanzHEX.me)
ㅤㅤㅤㅤㅤㅤㅤ
[](https://github.com/TroJanzHEX/Auto-Filter-Bot-V2/blob/main/LICENSE) [](https://github.com/TroJanzHEX/Auto-Filter-Bot-V2)#### You can call this as an Auto Filter Bot if you like :D
#### This is Version 2 of [Auto Filter Bot](https://github.com/TroJanzHEX/Auto-Filter-Bot)
#### Bot simply search for the files from provided channel according to given query and gives link to those files as buttons!## How to use the bot
* Add bot to your group with admin rights.* Add bot to all channels which you want to link with all admin rights!
## Bot Commands - Works in Group only
(You need to be a Auth User in order to use these commands)
* /add channelid - Links channel to your group.
or
* /add @channelusername - Links channel to your group.NOTE : You can get your channel ID from @ChannelidHEXbot
* /del channelid - Delinks channel from group
or
* /del @channelusername - Delinks channel from groupNOTE : You can get connected channel details by /filterstats
* /delall - Removes all connected channels and filters from group!
* /filterstats - Check connected channels and number of filters.
## You can check the video tutorial on how to deploy
[Click here to see tutorial video](https://youtu.be/zum9AUlOgtQ)
Thanks to [InfotelGroup](https://telegram.dog/InFoTelGroup) and [Erich Daniken](https://telegram.dog/ErichDaniken) for the video
## Any bugs or errors or suggestions, report at [TroJanzSupport](https://telegram.dog/TroJanzSupport)
## Installation
### Deploy to Heroku
[](https://heroku.com/deploy?template=https://github.com/TroJanzHEX/Auto-Filter-Bot-V2)### Deploy in your vps
```sh
git clone https://github.com/TroJanzHEX/Auto-Filter-Bot-V2
cd Auto-Filter-Bot-V2
pip3 install -r requirements.txt
#
python3 main.py
```## Configs
* TG_BOT_TOKEN - Get bot token from @BotFather
* APP_ID - From my.telegram.org (or @UseTGXBot)
* API_HASH - From my.telegram.org (or @UseTGXBot)
* TG_USER_SESSION - A pyrogram user session string. Generate by [clicking here](https://repl.it/@prgofficial/String-Gen)
* AUTH_USERS - ID of users that can use the bot commands. Get from [MissRose Bot](https://telegram.dog/MissRose_bot) by using /id command
* DATABASE_URI - Mongo Database URL from https://cloud.mongodb.com/
* DATABASE_NAME - Your database name from mongoDB. Default will be 'Cluster0'
* DOC_SEARCH - Should bot search for document files ( Give 'yes' or 'no' )
* VID_SEARCH - Should bot search for video files ( Give 'yes' or 'no' )
* MUSIC_SEARCH - Should bot search for music files ( Give 'yes' or 'no' )
## Credits
[](https://github.com/pyrogram/pyrogram)
And as always, [SpEcHlDe](https://telegram.dog/SpEcHlDe)