diff options
| author | 2019-09-14 14:18:39 +0200 | |
|---|---|---|
| committer | 2019-09-14 14:18:39 +0200 | |
| commit | b103fc0d5fb16122271a77db99f01a6b86175994 (patch) | |
| tree | 87c928b38fb8b0297a5bd6687eacf36a89185f70 /bot/utils/moderation.py | |
| parent | Adds a !nominees alias. (diff) | |
We now also detect bot tokens outside quotes.
Previously, the regex to detect tokens would only trigger on
messages where the token was inside of single or double quotes.
This commit changes this so that we look for bot tokens regardless
of context.
Diffstat (limited to 'bot/utils/moderation.py')
0 files changed, 0 insertions, 0 deletions