Skip to content

Kingofworls/Inline-Filter-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inline-Filter-Bot


     

A Telegram Bot for filter in Inline

Features

  • Unlimited Filters
  • Supports all type of filters
  • Supports Alert Button
  • Using Common Markups for formatting
  • Import and Export feature (allows to copy filters from one inline filter bot to another)
  • Custom Start Message, filter adding-deleting command

DEMO BOT

Installation

Deploy on Heroku

Deploy

Deploy in your VPS

git clone https://github.com/CodeXBotz/Inline-Filter-Bot
cd Inline-Filter-Bot
pip3 install -r requirements.txt
python3 InlineBot

Special Commands

Admin Commands

  • /add - add filter to bot (customisable command)
  • /del - delete filter from bot (customisable command)
  • /filters - view current filters
  • /export - export filters data as file
  • /stats - view bot statistics
  • /broadcast - broadcast any messages to bot users

Owner Commands

  • /delall - delete all filters from bot
  • /import - import an exported file to bot
  • All other admin commands

Variables

  • API_HASH Your API Hash from my.telegram.org
  • API_ID Your API ID from my.telegram.org
  • TG_BOT_TOKEN Your bot token from @BotFather
  • OWNER_ID Must enter Your Telegram Id
  • ADMINS Other Admins Telegram Id, seperate by space
  • DATABASE_URL Database URL from mongodb.com
  • THUMBNAIL_URL Optional: URL of an Image, thumbnail for Text filter
  • IS_PUBLIC Optional: Set this False if you creating this bot admins only, Default is True
  • START_MESSAGE Optional: Your Bot Start Message, you can use HTML, and fillings for formatting
  • FILTER_COMMAND Optional: Custom command for add filter
  • DELETE_COMMAND Optional: Custom command for add filter

Fillings for START_MESSAGE

  • {mention} Mention user
  • {first_name} User First name
  • {last_name} User Last name
  • {user_id} Telegram ID of the User
  • {username} Username of the User

Support

Join Our Telegram Group For Support/Assistance And Our Channel For Updates.

Report Bugs, Give Feature Requests There..

Credits

Licence

GNU GPLv3 Image

INLINE-FILTER-BOT is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Star this Repo if you Liked it ⭐⭐⭐

About

Telegram Bot to Filter posts in Bot Inline search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%