Skip to content

This is Telegram Auto Filter Bot repository and fully customizable

License

Notifications You must be signed in to change notification settings

HA-Bots/Auto-Filter-Bot

Repository files navigation

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.