From d948c2c980045ace9bbaf1756be943673830b7c7 Mon Sep 17 00:00:00 2001 From: ShadowVR Date: Mon, 10 Jun 2024 01:51:43 -0400 Subject: [PATCH] Added new flags --- configs/moderation.js | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/configs/moderation.js b/configs/moderation.js index 16d70bc..4722782 100644 --- a/configs/moderation.js +++ b/configs/moderation.js @@ -37,7 +37,13 @@ module.exports.moderation = { "Hate": true, "Harassment": true, "Self-Harm": true, - "Violence": true + "Violence": true, + "Ignorance": true, + "Homophobia": true, + "Transphobic": true, + "Disrespect": true, + "Politics": true, + "Slurs": true }, // true: Punishes flagged messages' authors automatically. // false: Doesn't punish flagged messages' authors automatically. @@ -46,7 +52,13 @@ module.exports.moderation = { "Hate": false, "Harassment": false, "Self-Harm": false, - "Violence": false + "Violence": false, + "Ignorance": false, + "Homophobia": false, + "Transphobic": false, + "Disrespect": false, + "Politics": false, + "Slurs": false }, // Valid punishment types for flagged messages' authors if "AutoPunish" is enabled: "Timeout", "Kick", "Ban" // Note: If more than 1 flag is enabled, the priority will be as follows: 1. Ban 2. Kick. 3. Timeout. @@ -55,7 +67,13 @@ module.exports.moderation = { "Hate": "Timeout", "Harassment": "Timeout", "Self-Harm": "Timeout", - "Violence": "Timeout" + "Violence": "Timeout", + "Ignorance": "Timeout", + "Homophobia": "Timeout", + "Transphobic": "Timeout", + "Disrespect": "Timeout", + "Politics": "Timeout", + "Slurs": "Timeout" }, // For timeouts it will be the timeout's duration. // For bans, it will be the number of days from which it will purge the message history. @@ -74,6 +92,12 @@ module.exports.moderation = { "Hate": "1d", "Harassment": "1d", "Self-Harm": "1d", - "Violence": "1d" + "Violence": "1d", + "Ignorance": "1d", + "Homophobia": "1d", + "Transphobic": "1d", + "Disrespect": "1d", + "Politics": "1d", + "Slurs": "1d" }, }; \ No newline at end of file