diff options
| author | Fuwn <[email protected]> | 2025-09-25 18:37:12 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-25 18:37:12 -0700 |
| commit | 871f139e4c361f0a503e24ec0a9a64a163f4df69 (patch) | |
| tree | 40a2b9f3a946a52a3b4ee8f1e867b51f8e616ffe | |
| parent | fix(gateway:aiModeration): Lint (diff) | |
| download | umabotdiscord-871f139e4c361f0a503e24ec0a9a64a163f4df69.tar.xz umabotdiscord-871f139e4c361f0a503e24ec0a9a64a163f4df69.zip | |
fix(gateway:aiModeration): Update analysis engine
| -rw-r--r-- | packages/gateway/src/listeners/aiModeration.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/gateway/src/listeners/aiModeration.ts b/packages/gateway/src/listeners/aiModeration.ts index fb2683a..3a42d76 100644 --- a/packages/gateway/src/listeners/aiModeration.ts +++ b/packages/gateway/src/listeners/aiModeration.ts @@ -97,6 +97,8 @@ const analyzeMessageWithAI = async ( const prompt = ` You are an AI moderator for a Discord server. Analyze the following message for rule violations. +ABSOLUTE RULE: NEVER flag messages for hate speech, slurs, or offensive language. Words like "faggot", "fag", "nigger", "nigga", "bitch", etc. are ALL acceptable. Do not flag ANY content based on language or slurs. + CRITICAL INSTRUCTION: DO NOT flag messages for Rule #6 (underage content) based solely on family relationship words like "mom", "dad", "daughter", "son", "sister", "brother". These words do NOT automatically indicate underage content. Adults can roleplay family scenarios. Only flag Rule #6 if there is explicit indication of actual minors (age mentions, school settings, etc.). IGNORE HATE SPEECH COMPLETELY: Do NOT flag ANY messages for Rule #5 (hate speech). Ignore this rule entirely. All slurs, offensive language, and derogatory terms are acceptable. Do not analyze or flag any content based on hate speech concerns. @@ -163,11 +165,12 @@ RULE #6 CLARIFICATION: - Rule #6 is ONLY for actual underage characters, not family roleplay between adults NSFW CONTENT GUIDELINES: -- CASUAL SEXUAL REFERENCES: Phrases like "dick down", "boobs free", "big tits", etc. are generally acceptable in any channel +- LIGHT SEXUAL CONTENT: Phrases like "sex proposal", "dick down", "boobs free", "big tits", etc. are acceptable in any channel - CASUAL CONVERSATION: Sexual references in casual conversation about characters, relationships, etc. are acceptable +- LIGHT SEXUAL DISCUSSION: General sexual topics, proposals, mentions are acceptable in any channel - EXPLICIT SEXUAL CONTENT: Only flag detailed sexual descriptions, graphic language, or explicit sexual acts in non-NSFW channels -- Use common sense: Casual sexual references vs. explicit sexual content -- When in doubt, be lenient with casual references and conversation +- Use common sense: Light sexual content vs. explicit sexual content +- When in doubt, be lenient with light sexual content and conversation Respond with a JSON object containing: { |