aboutsummaryrefslogtreecommitdiffstats
path: root/config-default.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config-default.yml')
-rw-r--r--config-default.yml76
1 files changed, 75 insertions, 1 deletions
diff --git a/config-default.yml b/config-default.yml
index 8ef74f6c3..9a4f3d4fc 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -57,6 +57,9 @@ style:
user_unban: "https://cdn.discordapp.com/emojis/469952898692808704.png"
user_update: "https://cdn.discordapp.com/emojis/469952898684551168.png"
+ user_mute: "https://cdn.discordapp.com/emojis/472472640100106250.png"
+ user_unmute: "https://cdn.discordapp.com/emojis/472472640100106250.png"
+
guild:
id: 267624335836053506
@@ -78,6 +81,7 @@ guild:
help_5: 454941769734422538
helpers: 385474242440986624
message_log: &MESSAGE_LOG 467752170159079424
+ mod_alerts: 473092793431097354
modlog: &MODLOG 282638479504965634
off_topic_0: 291284109232308226
off_topic_1: 463035241142026251
@@ -99,7 +103,7 @@ guild:
owner: 267627879762755584
verified: 352427296948486144
helpers: 267630620367257601
- muted: 277914926603829249
+ muted: &MUTED_ROLE 277914926603829249
keys:
@@ -158,3 +162,73 @@ urls:
gitlab_bot_repo: "https://gitlab.com/python-discord/projects/bot"
omdb: "http://omdbapi.com"
paste_service: "https://paste.pydis.com/{key}"
+
+
+anti_spam:
+ # Clean messages that violate a rule.
+ clean_offending: true
+
+ punishment:
+ role_id: *MUTED_ROLE
+ remove_after: 600
+
+ rules:
+ attachments:
+ interval: 10
+ max: 3
+
+ burst:
+ interval: 10
+ max: 7
+
+ burst_shared:
+ interval: 10
+ max: 20
+
+ chars:
+ interval: 5
+ max: 3_000
+
+ duplicates:
+ interval: 10
+ max: 3
+
+ discord_emojis:
+ interval: 10
+ max: 6
+
+ links:
+ interval: 10
+ max: 4
+
+ mentions:
+ interval: 10
+ max: 5
+
+ newlines:
+ interval: 10
+ max: 100
+
+ 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