Skip to content

SudoR2spr/Opleech-Filter-Bot

Repository files navigation

Typing SVG

Opleech-Filter-Bot Logo

Opleech-Filter-Bot

Typing SVG

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

  • Stram Feature Added With Many Player Support
  • Language & Season Support
  • Custom Tutorial Button
  • Bot Pm File Auto Delete added
  • 𝐼𝑀𝐷𝐡 π‘‡π‘’π‘šπ‘π‘™π‘Žπ‘‘π‘’ 𝑆𝑒𝑑
  • 𝐼𝑛𝑑𝑒π‘₯𝑒𝑠 𝐹𝑖𝑙𝑒𝑠 π‘Žπ‘π‘œπ‘£π‘’ 2𝐺𝐡
  • π‘ƒπ‘Ÿπ‘’π·π‘‰π· π‘Žπ‘›π‘‘ πΆπ‘Žπ‘šπ‘…π‘–π‘ 𝐷𝑒𝑙𝑒𝑑𝑒 π‘€π‘œπ‘‘π‘’
  • 𝑀𝑒𝑙𝑑𝑖𝑝𝑙𝑒 𝐹𝑖𝑙𝑒 π·π‘’π‘™π‘’π‘‘π‘–π‘œπ‘›
  • 𝑆𝑒𝑑𝑑𝑖𝑛𝑔𝑠 𝑀𝑒𝑛𝑒
  • πΉπ‘œπ‘Ÿπ‘π‘’ π‘†π‘’π‘π‘ π‘π‘Ÿπ‘–π‘π‘‘π‘–π‘œπ‘›
  • π‘Šπ‘’π‘™π‘π‘œπ‘šπ‘’ π‘€π‘’π‘ π‘ π‘Žπ‘”π‘’
  • π΄π‘’π‘‘π‘œπ‘šπ‘Žπ‘‘π‘–π‘ 𝐹𝑖𝑙𝑒 πΉπ‘–π‘™π‘‘π‘’π‘Ÿπ‘–π‘›π‘”
  • π·π‘œπ‘’π‘π‘™π‘’ πΉπ‘–π‘™π‘‘π‘’π‘Ÿ π΅π‘’π‘‘π‘‘π‘œπ‘›
  • 𝑆𝑖𝑛𝑔𝑙𝑒 πΉπ‘–π‘™π‘‘π‘’π‘Ÿ π΅π‘’π‘‘π‘‘π‘œπ‘›
  • π΅π‘œπ‘‘ 𝑃𝑀 𝐹𝑖𝑙𝑒 𝑆𝑒𝑛𝑑 π‘€π‘œπ‘‘π‘’
  • π΄π‘’π‘‘π‘œ 𝐹𝑖𝑙𝑒 𝑆𝑒𝑛𝑑
  • πΉπ‘œπ‘Ÿπ‘€π‘Žπ‘Ÿπ‘‘ π‘…π‘’π‘ π‘‘π‘Ÿπ‘–π‘π‘‘π‘–π‘œπ‘›
  • 𝐹𝑖𝑙𝑒 π‘ƒπ‘Ÿπ‘œπ‘‘π‘’π‘π‘‘
  • π‘€π‘Žπ‘›π‘’π‘Žπ‘™ 𝐹𝑖𝑙𝑒 πΉπ‘–π‘™π‘‘π‘’π‘Ÿπ‘–π‘›π‘”
  • πΊπ‘™π‘œπ‘π‘Žπ‘™ 𝐹𝑖𝑙𝑒 πΉπ‘–π‘™π‘‘π‘’π‘Ÿπ‘–π‘›π‘”
  • 𝐼𝑀𝐷𝐡
  • π΄π‘‘π‘šπ‘–π‘› πΆπ‘œπ‘šπ‘šπ‘Žπ‘›π‘‘π‘ 
  • π‘ˆπ‘ π‘’π‘Ÿ π΅π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘
  • πΊπ‘Ÿπ‘œπ‘’π‘ π΅π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘
  • 𝐼𝑛𝑑𝑒π‘₯
  • 𝐼𝑀𝐷𝐡 π‘ π‘’π‘Žπ‘Ÿπ‘β„Ž
  • 𝐼𝑛𝑙𝑖𝑛𝑒 π‘†π‘’π‘Žπ‘Ÿπ‘β„Ž
  • π‘…π‘Žπ‘›π‘‘π‘œπ‘š 𝑝𝑖𝑐𝑠
  • 𝑖𝑑𝑠 π‘Žπ‘›π‘‘ π‘ˆπ‘ π‘’π‘Ÿ π‘–π‘›π‘“π‘œ
  • π‘†π‘‘π‘Žπ‘‘π‘ 
  • π‘ˆπ‘ π‘’π‘Ÿπ‘ 
  • πΆβ„Žπ‘Žπ‘‘π‘ 
  • π‘ˆπ‘ π‘’π‘Ÿ π΅π‘Žπ‘›
  • π‘ˆπ‘ π‘’π‘Ÿ π‘ˆπ‘›π‘π‘Žπ‘›
  • πΆβ„Žπ‘Žπ‘‘ πΏπ‘’π‘Žπ‘£π‘’
  • πΆβ„Žπ‘Žπ‘‘ π·π‘–π‘ π‘Žπ‘π‘™π‘’
  • πΆβ„Žπ‘Žπ‘›π‘›π‘’π‘™
  • 𝑆𝑝𝑒𝑙𝑙𝑖𝑛𝑔 πΆβ„Žπ‘’π‘π‘˜ πΉπ‘’π‘Žπ‘‘π‘’π‘Ÿπ‘’
  • 𝐹𝑖𝑙𝑒 π‘†π‘‘π‘œπ‘Ÿπ‘’
  • π΄π‘’π‘‘π‘œ 𝐷𝑒𝑙𝑒𝑑𝑒
  • 𝐴𝑛𝑑 π‘€π‘œπ‘Ÿπ‘’...

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

invite - π‘‘π‘œ 𝑔𝑒𝑑 π‘‘β„Žπ‘’ 𝑖𝑛𝑣𝑖𝑑𝑒 π‘™π‘–π‘›π‘˜ π‘œπ‘“ π‘Žπ‘›π‘¦ π‘β„Žπ‘Žπ‘‘ π‘€β„Žπ‘–π‘β„Ž π‘‘β„Žπ‘’ π‘π‘œπ‘‘ 𝑖𝑠 π‘Žπ‘‘π‘šπ‘–π‘›.
logs - π‘‘π‘œ 𝑔𝑒𝑑 π‘‘β„Žπ‘’ π‘Ÿπ‘’π‘ π‘π‘’π‘›π‘‘ π‘’π‘Ÿπ‘Ÿπ‘œπ‘Ÿπ‘ 
stats - π‘‘π‘œ 𝑔𝑒𝑑 π‘ π‘‘π‘Žπ‘‘π‘’π‘  π‘œπ‘“ 𝑓𝑖𝑙𝑒𝑠 𝑖𝑛 𝑑𝑏.
connections - π‘‡π‘œ 𝑠𝑒𝑒 π‘Žπ‘™π‘™ π‘π‘œπ‘›π‘›π‘’π‘π‘‘π‘’π‘‘ π‘”π‘Ÿπ‘œπ‘’π‘π‘ 
settings - π‘‡π‘œ π‘œπ‘π‘’π‘› 𝑠𝑒𝑑𝑑𝑖𝑛𝑔𝑠 π‘šπ‘’π‘›π‘’
filter - π‘Žπ‘‘π‘‘ π‘šπ‘Žπ‘›π‘’π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ 
filters - 𝑣𝑖𝑒𝑀 π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ 
connect - π‘π‘œπ‘›π‘›π‘’π‘π‘‘ π‘‘π‘œ 𝑃𝑀.
disconnect - π‘‘π‘–π‘ π‘π‘œπ‘›π‘›π‘’π‘π‘‘ π‘“π‘Ÿπ‘œπ‘š 𝑃𝑀
del - 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Ž π‘“π‘–π‘™π‘‘π‘’π‘Ÿ
delall - 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Žπ‘™π‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ 
deleteall - 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Žπ‘™π‘™ 𝑖𝑛𝑑𝑒π‘₯𝑒𝑑 𝑓𝑖𝑙𝑒𝑠.
delete - 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Ž 𝑠𝑝𝑒𝑐𝑖𝑓𝑖𝑐 𝑓𝑖𝑙𝑒 π‘“π‘Ÿπ‘œπ‘š 𝑖𝑛𝑑𝑒π‘₯.
info - 𝑔𝑒𝑑 π‘’π‘ π‘’π‘Ÿ π‘–π‘›π‘“π‘œ
id - 𝑔𝑒𝑑 𝑑𝑔 𝑖𝑑𝑠.
imdb - π‘“π‘’π‘‘π‘β„Ž π‘–π‘›π‘“π‘œ π‘“π‘Ÿπ‘œπ‘š π‘–π‘šπ‘‘π‘.
search - π‘‡π‘œ π‘ π‘’π‘Žπ‘Ÿπ‘β„Ž π‘“π‘Ÿπ‘œπ‘š π‘£π‘Žπ‘Ÿπ‘–π‘œπ‘’π‘  π‘ π‘œπ‘’π‘Ÿπ‘π‘’π‘ 
start - π‘‡π‘œ π‘ π‘‘π‘Žπ‘Ÿπ‘‘ π‘‘β„Žπ‘’ π‘π‘œπ‘‘
setskip - π‘‡π‘œ π‘ π‘˜π‘–π‘ π‘›π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π‘šπ‘’π‘ π‘ π‘Žπ‘”π‘’π‘  π‘€β„Žπ‘’π‘› 𝑖𝑛𝑑𝑒π‘₯𝑖𝑛𝑔 𝑓𝑖𝑙𝑒𝑠
users - π‘‘π‘œ 𝑔𝑒𝑑 𝑙𝑖𝑠𝑑 π‘œπ‘“ π‘šπ‘¦ π‘’π‘ π‘’π‘Ÿπ‘  π‘Žπ‘›π‘‘ 𝑖𝑑𝑠.
chats - π‘‘π‘œ 𝑔𝑒𝑑 𝑙𝑖𝑠𝑑 π‘œπ‘“ π‘‘β„Žπ‘’ π‘šπ‘¦ π‘β„Žπ‘Žπ‘‘π‘  π‘Žπ‘›π‘‘ 𝑖𝑑𝑠 
leave  - π‘‘π‘œ π‘™π‘’π‘Žπ‘£π‘’ π‘“π‘Ÿπ‘œπ‘š π‘Ž π‘β„Žπ‘Žπ‘‘.
disable  -  π‘‘π‘œ π‘‘π‘–π‘ π‘Žπ‘π‘™π‘’ π‘Ž π‘β„Žπ‘Žπ‘‘.
enable - π‘Ÿπ‘’-π‘’π‘›π‘Žπ‘π‘™π‘’ π‘β„Žπ‘Žπ‘‘.
ban  - π‘‘π‘œ π‘π‘Žπ‘› π‘Ž π‘’π‘ π‘’π‘Ÿ.
unban  - π‘‘π‘œ π‘’π‘›π‘π‘Žπ‘› π‘Ž π‘’π‘ π‘’π‘Ÿ.
channel - π‘‘π‘œ 𝑔𝑒𝑑 𝑙𝑖𝑠𝑑 π‘œπ‘“ π‘‘π‘œπ‘‘π‘Žπ‘™ π‘π‘œπ‘›π‘›π‘’π‘π‘‘π‘’π‘‘ π‘β„Žπ‘Žπ‘›π‘›π‘’π‘™π‘ 
broadcast - π‘‘π‘œ π‘π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘ π‘Ž π‘šπ‘’π‘ π‘ π‘Žπ‘”π‘’ π‘‘π‘œ π‘Žπ‘™π‘™ π‘’π‘ π‘’π‘Ÿπ‘ 
grp_broadcast - π‘‡π‘œ π‘π‘Ÿπ‘œπ‘Žπ‘‘π‘π‘Žπ‘ π‘‘ π‘Ž π‘šπ‘’π‘ π‘ π‘Žπ‘”π‘’ π‘‘π‘œ π‘Žπ‘™π‘™ π‘π‘œπ‘›π‘›π‘’π‘π‘‘π‘’π‘‘ π‘”π‘Ÿπ‘œπ‘’π‘π‘ .
batch - π‘‘π‘œ π‘π‘Ÿπ‘’π‘Žπ‘‘π‘’ π‘™π‘–π‘›π‘˜ π‘“π‘œπ‘Ÿ π‘šπ‘’π‘™π‘‘π‘–π‘π‘™π‘’ π‘π‘œπ‘ π‘‘π‘ 
link - π‘‘π‘œ π‘π‘Ÿπ‘’π‘Žπ‘‘π‘’ π‘™π‘–π‘›π‘˜ π‘“π‘œπ‘Ÿ π‘œπ‘›π‘’ π‘π‘œπ‘ π‘‘
status - π‘Œπ‘œπ‘’π‘Ÿ π»π‘’π‘Ÿπ‘œπ‘˜π‘’ 𝐴𝑃𝐼 𝐾𝑒𝑦 π‘‘π‘œ π‘β„Žπ‘’π‘π‘˜ π‘‘π‘¦π‘›π‘œ, π‘π‘œπ‘‘ π‘’π‘π‘‘π‘–π‘šπ‘’ π‘Žπ‘›π‘‘ π‘π‘œπ‘‘ π‘€π‘œπ‘Ÿπ‘˜π‘–π‘›π‘” π‘‘π‘Žπ‘¦ π‘π‘Ÿπ‘’π‘‘π‘–π‘π‘‘π‘–π‘œπ‘›.
set_template - π‘‡π‘œ 𝑠𝑒𝑑 π‘Ž π‘π‘’π‘ π‘‘π‘œπ‘š 𝐼𝑀𝐷𝑏 π‘‘π‘’π‘šπ‘π‘™π‘Žπ‘‘π‘’ π‘“π‘œπ‘Ÿ π‘–π‘›π‘‘π‘–π‘£π‘–π‘‘π‘’π‘Žπ‘™ π‘”π‘Ÿπ‘œπ‘’π‘π‘ 
gfilter - π‘‡π‘œ π‘Žπ‘‘π‘‘ π‘”π‘™π‘œπ‘π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ .
gfilters - π‘‡π‘œ 𝑣𝑖𝑒𝑀 𝑙𝑖𝑠𝑑 π‘œπ‘“ π‘Žπ‘™π‘™ π‘”π‘™π‘œπ‘π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘ .
delg - π‘‡π‘œ 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Ž 𝑠𝑝𝑒𝑐𝑖𝑓𝑖𝑐 π‘”π‘™π‘œπ‘π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿ.
delallg - π‘‡π‘œ 𝑑𝑒𝑙𝑒𝑑𝑒 π‘Žπ‘™π‘™ π‘”π‘™π‘œπ‘π‘Žπ‘™ π‘“π‘–π‘™π‘‘π‘’π‘Ÿπ‘  π‘“π‘Ÿπ‘œπ‘š π‘‘β„Žπ‘’ π‘π‘œπ‘‘'𝑠 π‘‘π‘Žπ‘‘π‘Žπ‘π‘Žπ‘ π‘’.
deletefiles - π‘‡π‘œ 𝑑𝑒𝑙𝑒𝑑𝑒 π‘ƒπ‘Ÿπ‘’π·π‘‰π· π‘Žπ‘›π‘‘ πΆπ‘Žπ‘šπ‘…π‘–π‘ 𝐹𝑖𝑙𝑒𝑠 π‘“π‘Ÿπ‘œπ‘š π‘‘β„Žπ‘’ π‘π‘œπ‘‘'𝑠 π‘‘π‘Žπ‘‘π‘Žπ‘π‘Žπ‘ π‘’.

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
  • CHANNELS: Username or ID of channel or group. Separate multiple IDs by space
  • ADMINS: Username or ID of Admin. Separate multiple Admins by space
  • DATABASE_URI: mongoDB URI. Get this value from mongoDB. For more help watch this video
  • DATABASE_NAME: Name of the database in mongoDB.
  • LOG_CHANNEL : A channel to log the activities of bot. Make sure bot is an admin in the channel.
  • FDQN: Add Your Deploy Server App url Must Add this Stream Working Properly.

Optional Variables

  • PICS: Telegraph links of images to show in start message.( Multiple images can be used separated by space )
  • FILE_STORE_CHANNEL: Channel from were file store links of posts should be made.Separate multiple IDs by space
  • Check info.py for more optional variables
Deploy To Heroku


Deploy To Heroku

Deploy To Koyeb
The fastest way to deploy the application is to 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

Go to https://uptimerobot.com/ and add a monitor to keep your bot alive.

Use these settings when adding a monitor:


render template

Click on the below button to deploy directly to render ↓

Deploy to Render
Deploy To VPS

git clone https://github.com/SudoR2spr/Opleech-Filter-Bot
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py


Credits : Thanks to

  • Thanks To Library
  • Awesome Media-Search-bot
  • Thanks To Lazy Developer for stream feature ❀️
  • Thanks To Lazy Developer
  • Thanks To TeamEvamaria Developer ❀️
  • Thanks To adarsh-goel Developer ❀️
  • Thanks To adarsh-goel
  • Thanks To All Everyone In This Journey

Connect with me


πŸ¦‹ Last Edited on: 12/12/2023

Fork the repo and edit as per your needs.

Disclaimer

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

About

Opleech-Filter-Bot @Opleech

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages