Code Monkey home page Code Monkey logo

auto-filter-bot-v2's Introduction

Auto Filter Bot V2

TroJanz
ㅤㅤㅤㅤㅤㅤㅤ
TroJanz TroJanz
ㅤㅤㅤㅤㅤㅤㅤ
MIT license Open Source

You can call this as an Auto Filter Bot if you like :D

This is Version 2 of Auto Filter Bot

Bot simply search for the files from provided channel according to given query and gives link to those files as buttons!

How to use the bot

  • Add bot to your group with admin rights.

  • Add bot to all channels which you want to link with all admin rights!

Bot Commands - Works in Group only

(You need to be a Auth User in order to use these commands)

  • /add channelid - Links channel to your group. or
  • /add @channelusername - Links channel to your group.

NOTE : You can get your channel ID from @ChannelidHEXbot

  • /del channelid - Delinks channel from group or
  • /del @channelusername - Delinks channel from group

NOTE : You can get connected channel details by /filterstats

  • /delall - Removes all connected channels and filters from group!

  • /filterstats - Check connected channels and number of filters.

You can check the video tutorial on how to deploy

Click here to see tutorial video

Thanks to InfotelGroup and Erich Daniken for the video

Any bugs or errors or suggestions, report at TroJanzSupport

Installation

Deploy to Heroku

Deploy

Deploy in your vps

git clone https://github.com/TroJanzHEX/Auto-Filter-Bot-V2
cd Auto-Filter-Bot-V2
pip3 install -r requirements.txt
# <Create config.py appropriately>
python3 main.py

Configs

  • TG_BOT_TOKEN - Get bot token from @BotFather

  • APP_ID - From my.telegram.org (or @UseTGXBot)

  • API_HASH - From my.telegram.org (or @UseTGXBot)

  • TG_USER_SESSION - A pyrogram user session string. Generate by clicking here

  • AUTH_USERS - ID of users that can use the bot commands. Get from MissRose Bot by using /id command

  • DATABASE_URI - Mongo Database URL from https://cloud.mongodb.com/

  • DATABASE_NAME - Your database name from mongoDB. Default will be 'Cluster0'

  • DOC_SEARCH - Should bot search for document files ( Give 'yes' or 'no' )

  • VID_SEARCH - Should bot search for video files ( Give 'yes' or 'no' )

  • MUSIC_SEARCH - Should bot search for music files ( Give 'yes' or 'no' )

Credits

TroJanz

And as always, SpEcHlDe

auto-filter-bot-v2's People

Contributors

prgofficial avatar devavr avatar rihaal-0 avatar shahsad-kp avatar jack-of-tg avatar spechide avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.