Skip to content

nanoxte/Filterv2

 
 

Repository files navigation

PiroAutoFilterBot

Typing SVG

Stars License Python

Features

  • Indexes Files above 2GB
  • Force Subscription
  • Automatic File Filtering
  • Double Filter Button
  • Single Filter Button
  • Forward Restriction
  • File Protect
  • Manual File Filtering
  • Global File Filtering
  • IMDB
  • Admin Commands
  • User Broadcast
  • Group Broadcast
  • Index
  • IMDB search
  • Inline Search
  • Random pics
  • ids and User info
  • Stats
  • Users
  • Chats
  • User Ban
  • User Unban
  • Chat Leave
  • Chat Disable
  • Channel
  • Spelling Check Feature
  • File Store
  • Auto Delete
  • And More....

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. For more help watch this video
  • LOG_CHANNEL : A channel to log the activities of bot. Make sure bot is an admin in the channel.

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

Deployment Methods

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 on Railway Deploy on Railway
Deploy To Render
Deploy to Render
Deploy To VPS

Use VPS Branch
git clone https://github.com/ritheshrkrm/PiroAutoFilterBot
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py

Commands

alive - check bot alive  
ping - pong  
gfilter - to add a global filter 
delg - to delete a global filter 
broadcast - to broadcast a message to all users 
group_broadcast - to broadcast a message to all groups 
settings - get settings   
logs - to get the rescent errors  
stats - to get status of files in db 
filter - add manual filters 
filters - view filters  
connect - connect to PM 
disconnect - disconnect from PM  
del - delete a filter  
delall - delete all filters    
id - get tg ids 
imdb - fetch info from imdb  
users - to get list of my users and ids 
chats - to get list of the my chats and ids   
leave  - to leave from a chat 
disable  -  do disable a chat 
enable - re-enable chat 
ban  - to ban a user  
unban  - to unban a use

Thanks to

  • Thanks To EvaMaria Devs For Their AutoFIlterBot
  • Thanks To Me For Wasting Time On This Repo Instead Of Studying :)

Note 🏷️

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

TELAGRAM SUPPORT

  • PIRO BOTZ

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

A Simple Auto FIlter Bot with some featurs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%