Compare commits

..

2 commits
main ... main

Author SHA1 Message Date
279539a6f4 Update index.ts 2024-09-07 05:38:46 -04:00
cd50962f30 Update index.ts 2024-09-07 05:36:06 -04:00

View file

@ -25,8 +25,11 @@ 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", "pussy", "slut", "tit", "cum", "cock", "blowjob", "sex", "ass", "furry", "bewbs", "boob", "booba", "boobies", "boobs", "booby", "porn", "pron", "pronhub", "r34", "rape", "raped", "raping", "rapist"];
/** * FURRY ***/
const badNounsFurry = ["meow", "miau", "mreow", "mrow", "woof", "nya", ":pleading_catgirl", "purr"];
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"];
/** * SLURS ***/ /** * SLURS ***/
const badNounsSlurs = ["retard", "faggot", "fag", "faggots", "fags", "retards", "n*g", "n*gg*", "n*gg*r"]; const badNounsSlurs = ["retard", "faggot", "fag", "faggots", "fags", "retards", "n*g", "n*gg*", "n*gg*r"];
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,}?"];
@ -34,7 +37,7 @@ const badRegexesSlurs = ["\\bn{1,}(i|!|1){1,}(b|g){2,}(a|@|e|3){1,}?"];
const badVerbsGeneral = ["kill", "destroy"]; const badVerbsGeneral = ["kill", "destroy"];
const badNounsGeneral = ["shit", "bullshit", "bitch", "bastard", "die", "brainless"]; const badNounsGeneral = ["shit", "bullshit", "bitch", "bastard", "die", "brainless"];
/** * 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);