Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/HA-Bots/Auto-Filter-Bot

This is Telegram Auto Filter Bot repository and fully customizable
https://github.com/HA-Bots/Auto-Filter-Bot

auto-filter-bot mongodb pyrofork pyrogram python

Last synced: about 1 month ago
JSON representation

This is Telegram Auto Filter Bot repository and fully customizable

Awesome Lists containing this project

README

        



Auto Filter Bot



𝘼π™ͺ𝙩𝙀 π™π™žπ™‘π™©π™šπ™§ π˜½π™€π™©

[![Typing SVG](https://readme-typing-svg.herokuapp.com/?lines=π‘Šπ‘’π‘™π‘π‘œπ‘šπ‘’!;πΆπ‘Ÿπ‘’π‘Žπ‘‘π‘’π‘‘+𝑏𝑦+@HA_Bots;𝐴+π‘ π‘–π‘šπ‘π‘™π‘’+π‘Žπ‘›π‘‘+π‘π‘œπ‘€π‘’π‘Ÿπ‘“π‘’π‘™+π΅π‘œπ‘‘!;𝐼𝑛𝑑𝑒π‘₯𝑒𝑠+𝐹𝑖𝑙𝑒𝑠+π‘Žπ‘π‘œπ‘£π‘’+4𝐺𝐡)](https://github.com/HA-Bots/Auto-Filter-Bot)

## πΉπ‘’π‘Žπ‘‘π‘’π‘Ÿπ‘’π‘ 
- [x] 𝐼𝑀𝐷𝐡 π‘‡π‘’π‘šπ‘π‘™π‘Žπ‘‘π‘’ 𝑆𝑒𝑑
- [x] 𝑂𝑛𝑙𝑖𝑛𝑒 π‘ π‘‘π‘Ÿπ‘’π‘Žπ‘š π‘Žπ‘›π‘‘ π‘‘π‘œπ‘€π‘›π‘™π‘œπ‘Žπ‘‘
- [x] π‘‰π‘’π‘Ÿπ‘–π‘“π‘–π‘π‘Žπ‘‘π‘–π‘œπ‘› π‘šπ‘’π‘‘β„Žπ‘œπ‘‘
- [x] 𝐹𝑖𝑙𝑒 π‘π‘Žπ‘π‘‘π‘–π‘œπ‘› 𝑠𝑒𝑑
- [x] 𝐼𝑛𝑑𝑒π‘₯𝑒𝑠 𝐹𝑖𝑙𝑒𝑠 π‘Žπ‘π‘œπ‘£π‘’ 4𝐺𝐡
- [x] 𝑆𝑝𝑒𝑐𝑖𝑓𝑖𝑐 𝑓𝑖𝑙𝑒𝑠 𝐷𝑒𝑙𝑒𝑑𝑒 π‘€π‘œπ‘‘π‘’
- [x] 𝑆𝑒𝑑𝑑𝑖𝑛𝑔𝑠 𝑀𝑒𝑛𝑒
- [x] 𝑀𝑒𝑙𝑑𝑖𝑝𝑙𝑒 πΉπ‘œπ‘Ÿπ‘π‘’ π‘†π‘’π‘π‘ π‘π‘Ÿπ‘–π‘π‘‘π‘–π‘œπ‘›
- [x] π‘Šπ‘’π‘™π‘π‘œπ‘šπ‘’ π‘€π‘’π‘ π‘ π‘Žπ‘”π‘’ 𝑆𝑒𝑑
- [x] π‘†β„Žπ‘œπ‘Ÿπ‘‘π‘™π‘–π‘›π‘˜ π‘ π‘’π‘π‘π‘œπ‘Ÿπ‘‘
- [x] π΄π‘’π‘‘π‘œπ‘šπ‘Žπ‘‘π‘–π‘ 𝐹𝑖𝑙𝑒 πΉπ‘–π‘™π‘‘π‘’π‘Ÿπ‘–π‘›π‘”
- [x] 𝐹𝑖𝑙𝑒 π‘ƒπ‘Ÿπ‘œπ‘‘π‘’π‘π‘‘
- [x] π‘ˆπ‘ π‘’π‘Ÿ π΅π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘
- [x] πΊπ‘Ÿπ‘œπ‘’π‘ π΅π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘
- [x] 𝐼𝑛𝑙𝑖𝑛𝑒 π‘†π‘’π‘Žπ‘Ÿπ‘β„Ž
- [x] π‘…π‘Žπ‘›π‘‘π‘œπ‘š 𝑝𝑖𝑐𝑠
- [x] π΅π‘œπ‘‘ π‘†π‘‘π‘Žπ‘‘π‘ 
- [x] 𝑆𝑝𝑒𝑙𝑙𝑖𝑛𝑔 πΆβ„Žπ‘’π‘π‘˜ πΉπ‘’π‘Žπ‘‘π‘’π‘Ÿπ‘’
- [x] π΄π‘’π‘‘π‘œ 𝐷𝑒𝑙𝑒𝑑𝑒
- [x] 𝐴𝑛𝑑 π‘€π‘œπ‘Ÿπ‘’...

## πΆπ‘œπ‘šπ‘šπ‘Žπ‘›π‘‘π‘ 
```
β€’ /start - to check bot alive or not.
β€’ /index_channels - to check how many index channel id added.
β€’ /stats - to get bot status.
β€’ /settings - to change group settings as your wish.
β€’ /set_template - to set custom imdb template.
β€’ /set_caption - to set custom bot files caption.
β€’ /set_shortlink - group admin can set custom shortlink.
β€’ /get_custom_settings - to get your group settings details.
β€’ /set_welcome - to set custom new joined users welcome message for group.
β€’ /delete - to delete files using query.
β€’ /delete_all - to delete all indexed file.
β€’ /broadcast - to send message to all bot users.
β€’ /grp_broadcast - to send message to all groups.
β€’ /pin_broadcast - to send message as pin to all bot users.
β€’ /pin_grp_broadcast - to send message as pin to all groups.
β€’ /restart - to restart bot.
β€’ /set_tutorial - to set custom tutorial link in result page button.
β€’ /id - to check group or channel id.
β€’ /leave - to leave your bot from particular group.
β€’ /unban_grp - to enable group.
β€’ /ban_grp - to disable group.
β€’ /ban_user - to ban a users from bot.
β€’ /unban_user - to unban a users from bot.
β€’ /users - to get all users details.
β€’ /chats - to get all groups.
β€’ /invite_link - to generate invite link.
β€’ /index - to index bot accessible channels.
β€’ /set_fsub - to set force subscribe channel.
β€’ /remove_fsub - to remove force subscribe channel.
β€’ /set_pm_search - only for bot admin, to do on/off
```

## Variables
### Required Variables
* `BOT_TOKEN`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token.
* `API_ID`: Get this value from [telegram.org](https://my.telegram.org/apps)
* `API_HASH`: Get this value from [telegram.org](https://my.telegram.org/apps)
* `ADMINS`: ID of Admins. (Multiple admins can be used separated by space)
* `DATABASE_URL`: MongoDB URL. Get this value from [MongoDB](https://www.mongodb.com). For more help watch this [video](https://youtu.be/1G1XwEOnxxo)
* `LOG_CHANNEL` : A channel to log the activities of bot. add channel id and Make sure bot is an admin in the channel.
* `SUPPORT_GROUP`: Add your support group id
* `BIN_CHANNEL`: A channel to the stream and download feature, add channel id and make bot admin in channel.
* `URL`: Add you deployed bot app link or vps IP address
### Optional Variables
* `AUTH_CHANNEL`: ID of force subscribe channels (Multiple channels can be used separated by space)
* `INDEX_CHANNELS`: Username or ID of your files channels (Multiple channels can be used separated by space)
* `LANGUAGES`: Language of your bot search (Multiple languages can be used separated by space)
* `PICS`: Telegraph links of images to show in start message. (Multiple images can be used separated by space)
* Check [info.py](https://github.com/HA-Bots/Auto-Filter-Bot/blob/main/info.py) for more optional variables

## Deploy
Deploy To Heroku




Click the button below to deploy bot on Heroku.




Deploy To Heroku

Deploy To Koyeb


Click the Deploy to Koyeb button below.



[![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/deploy?type=git&repository=github.com/HA-Bots/Auto-Filter-Bot&branch=main&name=Auto-Filter-Bot)

Deploy To Render



Use these commands:




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




β€’ Start Command: python3 bot.py




Click on the below button to deploy on render.





Deploy to Render


Deploy To VPS




β€’ Build the Docker Image:






sudo docker build -t auto-filter-bot .





β€’ Run the Docker Container as Web App:






sudo docker run -d -p 80:80 --name Auto-Filter-Bot auto-filter-bot




## Support
* [![Support](https://img.shields.io/static/v1?label=Support&message=Group&color=critical)](https://t.me/HA_Bots_Support)
* [![Updates](https://img.shields.io/static/v1?label=Updates&message=Channel&color=critical)](https://t.me/HA_Bots)

## Credits
* [![EvaMaria](https://img.shields.io/static/v1?label=EvaMaria&message=Developers&color=critical)](https://t.me/TeamEvamaria)
* [![Hansaka](https://img.shields.io/static/v1?label=Hansaka&message=TG&color=critical)](https://t.me/Hansaka_Anuhas)

## Thanks To
- [Pyrogram](https://github.com/pyrogram/pyrogram) and [PyroFork](https://github.com/Mayuri-Chan/pyrofork) For Telegram MTProto API Framework
- [Contributors](https://github.com/HA-Bots/Auto-Filter-Bot/graphs/contributors) For free helps
- And to everyone who helped

## Note
- Importing this repo instead of forking is strictly prohibited, Kindly fork and edit as your wish. Must Give Credits for [developer(s)](https://t.me/HA_Bots)
- If you find any bugs or errors, [report](https://t.me/HA_Bots_Support) it

## Disclaimer
[![GNU General Public License v3.0](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](https://www.gnu.org/licenses/agpl-3.0.en.html#header)
Licensed under [GNU AGPL v3.0](https://github.com/HA-Bots/Auto-Filter-Bot/blob/main/LICENSE)
Selling The Codes To Other People For Money Is *Strictly Prohibited*.