diff options
| author | 2020-05-29 19:21:39 +0300 | |
|---|---|---|
| committer | 2020-05-29 19:21:39 +0300 | |
| commit | 9ee955454141d093f1cd71fc84a5340f803fa142 (patch) | |
| tree | 6704e3ec9dcb17a041aaa483f413a05829a496aa /tests/base.py | |
| parent | Filtering: Implement bad words detection in nicknames (diff) | |
Filtering: Refactor bad names checking
- Make `bad_words_in_name` and attach it to current `on_message`.
- Implement `asyncio.Lock` to avoid race conditions.
- Made that this first check is there matches and when there is,
check for alert.
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions