diff options
-rw-r--r-- | bot/exts/filtering/_filters/antispam/links.py | 2 | ||||
-rw-r--r-- | bot/exts/filtering/_filters/antispam/mentions.py | 2 | ||||
-rw-r--r-- | bot/exts/filtering/_filters/antispam/role_mentions.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/filtering/_filters/antispam/links.py b/bot/exts/filtering/_filters/antispam/links.py index ca6e9d031..0a2a98fc8 100644 --- a/bot/exts/filtering/_filters/antispam/links.py +++ b/bot/exts/filtering/_filters/antispam/links.py @@ -24,7 +24,7 @@ class ExtraLinksSettings(BaseModel): threshold: int = 10 -class DuplicatesFilter(UniqueFilter): +class LinksFilter(UniqueFilter): """Detects too many links sent by a single user.""" name = "links" diff --git a/bot/exts/filtering/_filters/antispam/mentions.py b/bot/exts/filtering/_filters/antispam/mentions.py index 782e14a64..6d541a28c 100644 --- a/bot/exts/filtering/_filters/antispam/mentions.py +++ b/bot/exts/filtering/_filters/antispam/mentions.py @@ -26,7 +26,7 @@ class ExtraMentionsSettings(BaseModel): threshold: int = 5 -class DuplicatesFilter(UniqueFilter): +class MentionsFilter(UniqueFilter): """ Detects total mentions exceeding the limit sent by a single user. diff --git a/bot/exts/filtering/_filters/antispam/role_mentions.py b/bot/exts/filtering/_filters/antispam/role_mentions.py index 151dc49be..af8bf9bf9 100644 --- a/bot/exts/filtering/_filters/antispam/role_mentions.py +++ b/bot/exts/filtering/_filters/antispam/role_mentions.py @@ -21,7 +21,7 @@ class ExtraRoleMentionsSettings(BaseModel): threshold: int = 3 -class DuplicatesFilter(UniqueFilter): +class RoleMentionsFilter(UniqueFilter): """Detects too many role mentions sent by a single user.""" name = "role_mentions" |