/Auto-Filter-Bot

This is Telegram Auto Filter Bot repository and fully customizable

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Auto Filter Bot

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

Typing SVG

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

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

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

β€’ /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, and get the Telegram API token.
  • API_ID: Get this value from telegram.org
  • API_HASH: Get this value from telegram.org
  • ADMINS: ID of Admins. (Multiple admins can be used separated by space)
  • DATABASE_URL: MongoDB URL. Get this value from MongoDB. For more help watch this video
  • 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 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

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

Credits

  • EvaMaria
  • Hansaka

Thanks To

Note

  • Importing this repo instead of forking is strictly prohibited, Kindly fork and edit as your wish. Must Give Credits for developer(s)
  • If you find any bugs or errors, report it

Disclaimer

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