From 4c0bbd845daa80cc0eb0414cbc0da06ac7920047 Mon Sep 17 00:00:00 2001 From: Emi Tatsuo Date: Sat, 31 Oct 2020 09:23:18 -0400 Subject: [PATCH] Removed default words from word list in favor of more neutral words --- config/default.yaml | 8 ++++---- src/config.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/default.yaml b/config/default.yaml index d7efb97..5a160d2 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -116,10 +116,10 @@ protections: # of the word is present in the message in any case. e.g. "poop" also matches # "poOPYHEad". Additionally, regular expressions can be used. words: - - "nigger" - - "faggot" - - "tranny" - - "retard" + - "CaSe" + - "InSeNsAtIve" + - "WoRd" + - "LiSt" # How long after a user joins the server should the bot monitor their messages. After # this time, users can say words from the wordlist without being banned automatically. # Set to zero to disable (users will always be banned if they say a bad word) diff --git a/src/config.ts b/src/config.ts index d24321e..6dac3b7 100644 --- a/src/config.ts +++ b/src/config.ts @@ -97,7 +97,7 @@ const defaultConfig: IConfig = { }, protections: { wordlist: { - words: ["nigger", "faggot", "tranny", "retard"], + words: [], minutesBeforeTrusting: 20 } },