AutoBanBot

Created 5 years ago
Maintained by michalrud
Simple Telegram bot for instant banning of spam users joining the channel.
Members 2

AutoBanBot

Automatically kicks and bans users, which first name or last name matches one of predefined regexes, from a telegram group.

You're not a spammer but you got banned?

This is definitely a bug. File an issue on Pagure. Thank you!

Running

Before running the bot, configure the Telegram Bot API and regexes in config.json. An config.json.example file is provided with example values.

$ virtualenv -p python3 virtual
$ source virtual/bin/activate
$ pip install -r requirements.txt
$ ./autobanbot.py