From 841fe43104af5c7a79ce4b75b103452d0ee15a86 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Sun, 3 Mar 2019 21:08:46 +0300 Subject: [PATCH] logs: document susp words --- cogs/logs.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cogs/logs.py b/cogs/logs.py index 3b7ba37..73b00a1 100644 --- a/cogs/logs.py +++ b/cogs/logs.py @@ -5,6 +5,7 @@ import re import config from helpers.restrictions import get_user_restrictions + class Logs(Cog): """ Logs join and leave messages, bans and unbans, and member changes. @@ -17,8 +18,11 @@ class Logs(Cog): self.name_re = re.compile(r"[a-zA-Z0-9].*") self.clean_re = re.compile(r'[\W_]+', re.UNICODE) # All lower case, no spaces, nothing non-alphanumeric - self.susp_words = ["sx", "tx", "reinx", "tinfoil", "dz", "goldleaf", - "nsp", "xci", "nut", "doge", "cdnsp", "lithium"] + self.susp_words = ["sx", "tx", "reinx", # piracy-enabling cfws + "tinfoil", "dz", # title managers + "goldleaf", "lithium", # title managers + "nsp", "xci", # "backup" formats + "nut", "doge", "cdnsp"] # cdn dlers/dumpers self.ok_words = ["nspwn", "hblnsp", "exefs"] @Cog.listener()