Go to file
Michał Rudowicz 96091132c6 Added information about unjust bans in README 2018-07-24 23:05:40 +02:00
.gitignore Added information about unjust bans in README 2018-07-24 23:05:40 +02:00
README.md Added information about unjust bans in README 2018-07-24 23:05:40 +02:00
autobanbot.py Initial commit 2018-07-24 15:31:04 +02:00
config.json.example Initial commit 2018-07-24 15:31:04 +02:00
requirements.txt Initial commit 2018-07-24 15:31:04 +02:00
tests.py Initial commit 2018-07-24 15:31:04 +02:00

README.md

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