/telegram_lamebuster

Telegram bot to get rid of annoying lames

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Telegram lamebuster bot

Actually this is a W.I.P. read the TODO list for more info

A simple python bot to get rid of annoying flooders in Telegram Groups

Overview

The purpose of this bot is to stop bad users and bots from flooding channels.

Each group will have a db structure composed by:

  • Whitelist: the bot will ignore users in this list
  • Bots Whitelist: by default, due to stupid Telegram policy, if you want to add a bot in your group it should be added to this list, otherwise lamebuster will kick them.
  • Banlist: all the users banned by lamebuster (useful for private groups where you can't actually ban)
  • Filters: It define which

Dependencies

lamebuster needs python-telegram-bot to work:

pip3 install python-telegram-bot

Commands

-/ping Print a pong message. Usefull to see if the bot is online and not busy

-/whitelist [add | remove] Will add or remove from whitelist the user quoted by the message

-/whitelist show Print whitelist

-/setfilter [ TEXT | MEDIA | ALL ] Set the entities parsed. Can be text only messages, media only (gif, photo, video, stickers) or everything