aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-31 12:37:30 +0300
committerGravatar GitHub <[email protected]>2020-05-31 12:37:30 +0300
commit5b7df0ea02df485c507d602868bce215b4290626 (patch)
tree2016fe02f5fe2283403a5f4d72e103b36ad12951
parentMerge remote-tracking branch 'origin/bad-words-nick' into bad-words-nick (diff)
Filtering: Fix docstring
Co-authored-by: Mark <[email protected]>
-rw-r--r--bot/cogs/filtering.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py
index eb587d781..737317d46 100644
--- a/bot/cogs/filtering.py
+++ b/bot/cogs/filtering.py
@@ -157,7 +157,7 @@ class Filtering(Cog):
return True
async def check_is_bad_words_in_name(self, member: Member) -> None:
- """Check bad words from user display name. When there is more than 3 days after last alert, send new alert."""
+ """Send a mod alert every 3 days if a username still matches a watchlist pattern."""
# Use lock to avoid race conditions
async with self.name_lock:
# Check does nickname have match in filters.