Compare commits

..

1 commit
main ... main

Author SHA1 Message Date
81f006c571 added more slurs 2024-10-14 10:27:12 -04:00

View file

@ -24,17 +24,20 @@ import { FluxDispatcher } from "@webpack/common";
/** * SEXUAL ***/ /** * SEXUAL ***/
const badVerbsSexual = ["fuck", "cum"]; const badVerbsSexual = ["fuck", "cum"];
const badNounsSexual = ["cunt", "yuri", "whore", "dick", "pussy", "slut", "tit", "cum", "cock", "blowjob", "sex", "ass", "furry", "bewbs", "boob", "booba", "boobies", "boobs", "booby", "porn", "pron", "pronhub", "r34", "rape", "raped", "raping", "rapist"]; const badNounsSexual = ["cunt", "yuri", "whore", "dick", "penis", "bbc", "pussy", "pussyole", "slut", "tit", "cum", "cock", "blowjob", "sex", "ass", "furry", "bewbs", "boob", "booba", "boobies", "boobs", "booby", "porn", "pron", "pronhub", "xshare", "xhamster", "r34", "rape", "raped", "raping", "rapist", "womanizer", "nonce", "golden shower", "head"];
/** * FURRY ***/
const badNounsFurry = ["<a:meowing:1284972816906846298>", "meowing", "meow", "miau", "mreow", "mrow", "woof", "nya", ":pleading_catgirl", "purr", "oomf", "oomfie", "femboy"];
const badRegexesFurry = ["mr*eo*w+, mr+p, nya+, mrow+, purr+"];
/** * BRAINROT ***/ /** * BRAINROT ***/
const badNounsBrainrot = ["mewing", "mew", "skibidi", "gyat", "gyatt", "rizzler", "nettspend", "boykisser", "ohio", "rizz", "tickle my toes bruh", "crack my spine like a whip", "hawk tuah"]; const badNounsBrainrot = ["mewing", "mew", "skibidi", "gyat", "gyatt", "rizzler", "nettspend", "boykisser", "ohio", "rizz", "tickle my toes bruh", "crack my spine like a whip", "hawk tuah", "pookie"];
/** * SLURS ***/ /** * SLURS ***/
const badNounsSlurs = ["retard", "faggot", "fag", "faggots", "fags", "retards", "n*g", "n*gg*", "n*gg*r"]; const badNounsSlurs = ["retard", "retards", "retarded", "faggot", "fag", "faggots", "fags", "furfag", "tranny", "trannies", "n*g", "n*gg*", "n*gg*r", "n*glet", "ret*gga", "n*gtard", "n*g-nog", "n*gro", "gringo", "Yank"];
const badRegexesSlurs = ["\\bn{1,}(i|!|1){1,}(b|g){2,}(a|@|e|3){1,}?"]; const badRegexesSlurs = ["\\bn{1,}(i|!|1){1,}(b|g){2,}(a|@|e|3){1,}?"];
/** * GENERAL ***/ /** * GENERAL ***/
const badVerbsGeneral = ["kill", "destroy"]; const badVerbsGeneral = ["kill", "destroy"];
const badNounsGeneral = ["shit", "bullshit", "bitch", "bastard", "die", "brainless"]; const badNounsGeneral = ["shit", "bullshit", "bitch", "bastard", "die", "brainless", "moron", "dumb", "idiot"];
/** * FUN ***/ /** * FUN ***/
const badNounsFun = ["kotlin", "avast", "fres"]; const badNounsFun = ["kotlin", "avast"];
/** * REPLACEMENTS ***/ /** * REPLACEMENTS ***/
const badVerbsReplacements = ["love", "eat", "deconstruct", "marry", "fart", "teach", "display", "plug", "explode", "undress", "finish", "freeze", "beat", "free", "brush", "allocate", "date", "melt", "breed", "educate", "injure", "change"]; const badVerbsReplacements = ["love", "eat", "deconstruct", "marry", "fart", "teach", "display", "plug", "explode", "undress", "finish", "freeze", "beat", "free", "brush", "allocate", "date", "melt", "breed", "educate", "injure", "change"];
const badNounsReplacements = ["pasta", "kebab", "cake", "potato", "woman", "computer", "java", "hamburger", "monster truck", "osu!", "Ukrainian ball in search of gas game", "Anime", "Anime girl", "good", "keyboard", "NVIDIA RTX 3090 Graphics Card", "storm", "queen", "single", "umbrella", "mosque", "physics", "bath", "virus", "bathroom", "mom", "owner", "airport", "Avast Antivirus Free"]; const badNounsReplacements = ["pasta", "kebab", "cake", "potato", "woman", "computer", "java", "hamburger", "monster truck", "osu!", "Ukrainian ball in search of gas game", "Anime", "Anime girl", "good", "keyboard", "NVIDIA RTX 3090 Graphics Card", "storm", "queen", "single", "umbrella", "mosque", "physics", "bath", "virus", "bathroom", "mom", "owner", "airport", "Avast Antivirus Free"];
@ -55,6 +58,11 @@ export default definePlugin({
description: "Block sexual words/hornyspeak", description: "Block sexual words/hornyspeak",
default: true default: true
}, },
blockFurryspeak: {
type: OptionType.BOOLEAN,
description: "Block furryspeak/meowing",
default: true
},
blockBrainrot: { blockBrainrot: {
type: OptionType.BOOLEAN, type: OptionType.BOOLEAN,
description: "Block things commonly said by Gen Alpha children", description: "Block things commonly said by Gen Alpha children",
@ -88,6 +96,7 @@ export default definePlugin({
getEnabledBadNouns() { getEnabledBadNouns() {
const thingToReturn: string[] = []; const thingToReturn: string[] = [];
if (this.settings.store.blockBrainrot) thingToReturn.push(...badNounsBrainrot); if (this.settings.store.blockBrainrot) thingToReturn.push(...badNounsBrainrot);
if (this.settings.store.blockFurryspeak) thingToReturn.push(...badNounsFurry);
if (this.settings.store.blockInsults) thingToReturn.push(...badNounsGeneral); if (this.settings.store.blockInsults) thingToReturn.push(...badNounsGeneral);
if (this.settings.store.blockOthers) thingToReturn.push(...badNounsFun); if (this.settings.store.blockOthers) thingToReturn.push(...badNounsFun);
if (this.settings.store.blockSexual) thingToReturn.push(...badNounsSexual); if (this.settings.store.blockSexual) thingToReturn.push(...badNounsSexual);