diff options
| author | 2018-07-30 12:56:46 +0000 | |
|---|---|---|
| committer | 2018-07-30 12:56:46 +0000 | |
| commit | 602f9d08bb4829f601b212f88e79fdfdd60c7955 (patch) | |
| tree | d47b37d58948d7d7a6c66dc7701123fda979115c | |
| parent | Removing the python-levenshtein package because it significantly slows down b... (diff) | |
| parent | Fix a few anti spam cog issues. (diff) | |
Merge branch 'bugfix/newline-filter-max-count' into 'master'
Fix a few anti spam cog issues.
See merge request python-discord/projects/bot!40
| -rw-r--r-- | bot/__main__.py | 2 | ||||
| -rw-r--r-- | config-default.yml | 22 |
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 |