summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-10-01 18:15:04 -0700
committerFuwn <[email protected]>2025-10-01 18:15:08 -0700
commite71e70b15d16e15d9a1628f8e65bde88debef9a0 (patch)
tree5448b125af81313af7aa7b0b7065a1258713c528
parentfeat(listeners:moderationAgent): Change model (diff)
downloadumabotdiscord-e71e70b15d16e15d9a1628f8e65bde88debef9a0.tar.xz
umabotdiscord-e71e70b15d16e15d9a1628f8e65bde88debef9a0.zip
feat(listeners:moderationAgent): Remove unnecessary context
-rw-r--r--packages/gateway/src/listeners/moderationAgent/utilities.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/packages/gateway/src/listeners/moderationAgent/utilities.ts b/packages/gateway/src/listeners/moderationAgent/utilities.ts
index 1cbae0b..3a7cf7b 100644
--- a/packages/gateway/src/listeners/moderationAgent/utilities.ts
+++ b/packages/gateway/src/listeners/moderationAgent/utilities.ts
@@ -102,9 +102,6 @@ Category: ${categoryName} (ID: ${categoryId || "None"})
${isThread ? `Thread Parent: #${parentChannelName} (ID: ${parentChannelId})` : ""}
=== MESSAGE CONTEXT ===
-Message ID: ${message.id}
-Timestamp: ${message.createdAt.toISOString()}
-Length: ${messageLength} characters
Has Attachments: ${hasAttachments} (${message.attachments.size} files)
Has Embeds: ${hasEmbeds} (${message.embeds.length} embeds)
${repliedToMessage ? `Is Reply: Yes (replying to message from ${repliedToMessage.author.username})` : "Is Reply: No"}
@@ -112,21 +109,14 @@ ${repliedToMessage ? `Is Reply: Yes (replying to message from ${repliedToMessage
${
repliedToMessage
? `=== REPLIED-TO MESSAGE ===
-Replied-to Author: ${repliedToMessage.author.username}
-Replied-to Message ID: ${repliedToMessage.id}
-Replied-to Timestamp: ${repliedToMessage.createdAt.toISOString()}
Replied-to Content: "${repliedToMessage.content || "[No text content]"}"
`
: ""
}
=== AUTHOR CONTEXT ===
-Username: ${author.username}
-Display Name: ${author.displayName}
-User ID: ${authorId}
Is Bot: ${author.bot}
Is System: ${author.system}
-Roles: ${authorRoles}
Joined Server: ${authorJoinedAt}
=== RECENT MESSAGE HISTORY ===