21 lines
552 B
Markdown
21 lines
552 B
Markdown
# AutoBanBot
|
|
|
|
If message matches configured regexes then bot bans the user from the channel and removes the
|
|
message.
|
|
|
|
## You're not a spammer but you got banned?
|
|
|
|
This is definitely a bug. [File an issue on Pagure](https://pagure.io/AutoBanBot/issues). 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.
|
|
|
|
```bash
|
|
$ virtualenv -p python3 virtual
|
|
$ source virtual/bin/activate
|
|
$ pip install -r requirements.txt
|
|
$ ./autobanbot.py
|
|
```
|