aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-09-05 11:07:58 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2020-09-05 11:07:58 +0200
commit53cb77bb2d541d0be61bc3c25e37b54601963b7c (patch)
treeb93a9acabaa86368221360059eab1039a48bccf0
parentDisable burst_shared filter of the AntiSpam cog (diff)
Disable everyone_ping filter in AntiSpam cog
As there are a few bugs in the implementation, I've temporarily disabled the at-everyone ping filter in the AntiSpam cog. We can disable it after we've fixed the bugs. Signed-off-by: Sebastiaan Zeeff <[email protected]>
-rw-r--r--bot/cogs/antispam.py4
-rw-r--r--config-default.yml8
2 files changed, 8 insertions, 4 deletions
diff --git a/bot/cogs/antispam.py b/bot/cogs/antispam.py
index b8939113f..3ad487d8c 100644
--- a/bot/cogs/antispam.py
+++ b/bot/cogs/antispam.py
@@ -36,7 +36,9 @@ RULE_FUNCTION_MAPPING = {
'mentions': rules.apply_mentions,
'newlines': rules.apply_newlines,
'role_mentions': rules.apply_role_mentions,
- 'everyone_ping': rules.apply_everyone_ping,
+ # the everyone filter is temporarily disabled until
+ # it has been improved.
+ # 'everyone_ping': rules.apply_everyone_ping,
}
diff --git a/config-default.yml b/config-default.yml
index e9324c62f..6e7cff92d 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -389,9 +389,11 @@ anti_spam:
interval: 10
max: 3
- everyone_ping:
- interval: 10
- max: 0
+ # The everyone ping filter is temporarily disabled
+ # until we've fixed a couple of bugs.
+ # everyone_ping:
+ # interval: 10
+ # max: 0
reddit: