summaryrefslogtreecommitdiff
path: root/packages/gateway
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-25 16:46:50 -0700
committerFuwn <[email protected]>2025-09-25 16:46:50 -0700
commitcfc4313bce751ce89973a076d8f1f9a2ee048ed1 (patch)
tree6d23e3b4bb88ef25d3f7283b38eb88eb06c892ba /packages/gateway
parentfix(gateway:aiModeration): Improve adult content analysis (diff)
downloadumabotdiscord-cfc4313bce751ce89973a076d8f1f9a2ee048ed1.tar.xz
umabotdiscord-cfc4313bce751ce89973a076d8f1f9a2ee048ed1.zip
fix(gateway:aiModeration): Improve adult content analysis
Diffstat (limited to 'packages/gateway')
-rw-r--r--packages/gateway/src/listeners/aiModeration.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/gateway/src/listeners/aiModeration.ts b/packages/gateway/src/listeners/aiModeration.ts
index ec3ebf3..4f722b0 100644
--- a/packages/gateway/src/listeners/aiModeration.ts
+++ b/packages/gateway/src/listeners/aiModeration.ts
@@ -96,6 +96,8 @@ const analyzeMessageWithAI = async (
const prompt = `
You are an AI moderator for a Discord server. Analyze the following message for rule violations.
+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.).
+
SERVER RULES:
${SERVER_RULES}