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 16 hours ago
JSON representation
This is Telegram Auto Filter Bot repository and fully customizable
- Host: GitHub
- URL: https://github.com/HA-Bots/Auto-Filter-Bot
- Owner: HA-Bots
- License: gpl-3.0
- Created: 2023-08-30T07:54:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-28T16:23:34.000Z (11 months ago)
- Last Synced: 2024-05-29T02:04:22.826Z (11 months ago)
- Topics: auto-filter-bot, mongodb, pyrofork, pyrogram, python
- Language: Python
- Homepage:
- Size: 1.02 MB
- Stars: 72
- Watchers: 3
- Forks: 245
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - HA-Bots/Auto-Filter-Bot - This is Telegram Auto Filter Bot repository and fully customizable (Python)
README
#Β πΌπͺπ©π€ πππ‘π©ππ§ π½π€π© Β
![]()
## πΉπππ‘π’πππ
- [x] πΌππ·π΅ πππππππ‘π πππ‘
- [x] ππππππ π π‘ππππ πππ πππ€πππππ
- [x] πππππππππ‘πππ πππ‘βππ
- [x] πΉπππ ππππ‘πππ π ππ‘
- [x] πΌππππ₯ππ πΉππππ ππππ£π 4πΊπ΅
- [x] ππππππππ πππππ π·ππππ‘π ππππ
- [x] πππ‘π‘ππππ ππππ’
- [x] ππ’ππ‘ππππ πΉππππ ππ’ππ πππππ‘πππ
- [x] πππππππ πππ π πππ πππ‘
- [x] πβπππ‘ππππ π π’πππππ‘
- [x] π΄π’π‘ππππ‘ππ πΉπππ πΉπππ‘πππππ
- [x] πΉπππ ππππ‘πππ‘
- [x] ππ ππ π΅πππππππ π‘
- [x] πΊπππ’π π΅πππππππ π‘
- [x] πΌπππππ πππππβ
- [x] π πππππ ππππ
- [x] π΅ππ‘ ππ‘ππ‘π
- [x] ππππππππ πΆβπππ πΉπππ‘π’ππ
- [x] π΄π’π‘π π·ππππ‘π
- [x] π΄ππ ππππ...
- [x] Demo Bot - Here## πΆπππππππ
```
β’ /start - to check bot alive or not.
β’ /index_channels - to check how many index channel id added.
β’ /stats - to get bot status.
β’ /ping - view bot's ping (latency)
β’ /gofile - upload file to gofile.io
β’ /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.
```## 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)
* Check [info.py](https://github.com/HA-Bots/Auto-Filter-Bot/blob/main/info.py) for more optional variables## Deploy
Deploy To Heroku[](https://www.heroku.com/deploy)
Deploy To Koyeb
[](https://app.koyeb.com/deploy?type=git&builder=dockerfile&repository=https://github.com/HA-Bots/Auto-Filter-Bot)
Deploy To Render
[](https://render.com/deploy)
Deploy To VPS
1. Run the following command to ensure your system is up to date:
```
sudo apt update && sudo apt upgrade -y
```
2. If Docker is not already installed, install it using:
```
sudo apt install docker.io -y
```
3. Verify the installation:
```
docker --version
```
4. Ensure Docker starts on boot and is running:
```
sudo systemctl enable docker
sudo systemctl start docker
```
5. Clone this repository (also you can upload manually repo to your VPS):
```
git clone https://github.com/HA-Bots/Auto-Filter-Bot
cd Auto-Filter-Bot
```
6. Navigate to your bot directory and build the Docker image:
```
sudo docker build -t auto-filter-bot .
```
7. Once the image is built, start the container:
```
sudo docker run -d -p 80:80 --name Auto-Filter-Bot auto-filter-bot
```
8. Verify that the bot is running:
```
sudo docker ps
```
9. If the bot crashes or needs to restart:
```
sudo docker restart Auto-Filter-Bot
```
10. If something is not working, check logs:
```
sudo docker logs Auto-Filter-Bot
```## Support
* [](https://t.me/HA_Bots_Support)
* [](https://t.me/HA_Bots)## CreditsΒ
* [](https://t.me/TeamEvamaria)
* [](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
[](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*.