GithubHelp home page GithubHelp logo

hiteshxd / filterbot Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 74 KB

Zero Two Unlimited Telegram Filter Bot

License: GNU General Public License v3.0

Procfile 0.05% Python 99.95%
filterbot hiteshxd ikx7a pyrogram python3 telegram-bot zerotwo

filterbot's Introduction

──「 𝐙𝐞𝐫𝐨 𝐓𝐰𝐨 」──

Unlimited Filter Bot

──「 Features 」──

  • Nearly unlimited filters
  • Supports all type of filters(Including Alert Button Filter).
  • Can save button filters directly (Rose Bot Feature)
  • Supports multiple PM connections
  • And all other features of a Filter Bot :D

──「 Bot Commands 」──

(You need to be an admin or Auth User in order to use these commands)

Filter Commands

  • /add <filtername> <filtercontent> - To add your filter. You can also reply to your content with /add command.
  • /del <filtername> - Delete your filter.
  • /delall - Delete all filters from group. (Group Owner Only!)
  • /viewfilters - List all filters in chat.

Connection Commands

  • /connect groupid - Connects your group to PM. You can also simply use, /connect in groups.
  • /connections - Manage your connections. (only in PM)

Extras

  • /status - Shows current status of your bot (Auth User Only)
  • /id - Shows ID information
  • /info <userid> - Shows User Information. Also use /info as reply to some message for their details!

──「 Installation 」──

Deploy in your vps

git clone https://github.com/Hiteshxd/FilterBot
cd FilterBot
pip3 install -r requirements.txt
# <Create config.py appropriately>
python3 bot.py

──「 Configuration 」──

  • TG_BOT_TOKEN - Get bot token from @BotFather
  • API_ID - From my.telegram.org (or @UseTGXBot)
  • API_HASH - From my.telegram.org (or @UseTGXBot)
  • AUTH_USERS - ID of users that can use the bot commands. Get from MaximXGroup 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'
  • SAVE_USER - Give yes or no . Usefull for getting userinfo and total user counts. May reduce filter capacity.
  • HEROKU_API_KEY - To check dyno status. Go to https://dashboard.heroku.com/account , scroll down and press Reveal API

Optional - To set alternate Bot Commmands!

(Add required field as heroku var and give desired command as value. You can edit it in sample_config.py also!)

  • ADD_FILTER_CMD - Default Will Be 'add'
  • DELETE_FILTER_CMD - Default Will Be 'del'
  • DELETE_ALL_CMD - Default Will Be 'delall'
  • CONNECT_COMMAND - Default Will Be 'connect'
  • DISCONNECT_COMMAND - Default Will Be 'disconnect'

──「 Credits 」──

Pyrogram

MongoDB

ikx7a

──「 Support & Updates 」─

Support Cover

Telegram Telegram

ForTheBadge built-with-love

filterbot's People

Contributors

hiteshxd avatar

Stargazers

 avatar

Watchers

 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.