aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/moderation.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-09-14 14:18:39 +0200
committerGravatar Leon Sandøy <[email protected]>2019-09-14 14:18:39 +0200
commitb103fc0d5fb16122271a77db99f01a6b86175994 (patch)
tree87c928b38fb8b0297a5bd6687eacf36a89185f70 /bot/utils/moderation.py
parentAdds 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