aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-07-30 12:56:46 +0000
committerGravatar Gareth Coles <[email protected]>2018-07-30 12:56:46 +0000
commitfc2b8f2cfc6b6cede7cead3f1121dabe4c4ccd4d (patch)
treed47b37d58948d7d7a6c66dc7701123fda979115c
parentRemoving the python-levenshtein package because it significantly slows down b... (diff)
Fix a few anti spam cog issues.
-rw-r--r--bot/__main__.py2
-rw-r--r--config-default.yml22
2 files changed, 2 insertions, 22 deletions
diff --git a/bot/__main__.py b/bot/__main__.py
index 95aee407e..9a2ef9319 100644
--- a/bot/__main__.py
+++ b/bot/__main__.py
@@ -43,7 +43,7 @@ bot.load_extension("bot.cogs.security")
bot.load_extension("bot.cogs.events")
# Commands, etc
-# bot.load_extension("bot.cogs.antispam")
+bot.load_extension("bot.cogs.antispam")
bot.load_extension("bot.cogs.bigbrother")
bot.load_extension("bot.cogs.bot")
bot.load_extension("bot.cogs.clean")
diff --git a/config-default.yml b/config-default.yml
index 9a4f3d4fc..8f90b71ab 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -195,7 +195,7 @@ anti_spam:
discord_emojis:
interval: 10
- max: 6
+ max: 20
links:
interval: 10
@@ -212,23 +212,3 @@ anti_spam:
role_mentions:
interval: 10
max: 3
-
- discord_emojis:
- interval: 10
- max: 6
-
- links:
- interval: 10
- max: 4
-
- mentions:
- interval: 10
- max: 5
-
- newlines:
- interval: 10
- max: 20
-
- role_mentions:
- interval: 10
- max: 3