diff options
| author | Fuwn <[email protected]> | 2025-09-25 17:31:22 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-25 17:31:22 -0700 |
| commit | f16932f5aa5ed790b42ba1a0e34acd7b78fb495c (patch) | |
| tree | 732d1bb411befdea376d9f18a6fde8eae3d73dc9 | |
| parent | fix(gateway:aiModeration): Update hate speech guidelines (diff) | |
| download | umabotdiscord-f16932f5aa5ed790b42ba1a0e34acd7b78fb495c.tar.xz umabotdiscord-f16932f5aa5ed790b42ba1a0e34acd7b78fb495c.zip | |
fix(gateway:aiModeration): Add log feed for staff server
| -rw-r--r-- | packages/gateway/src/listeners/aiModeration.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/gateway/src/listeners/aiModeration.ts b/packages/gateway/src/listeners/aiModeration.ts index 1468169..19cfcda 100644 --- a/packages/gateway/src/listeners/aiModeration.ts +++ b/packages/gateway/src/listeners/aiModeration.ts @@ -375,6 +375,14 @@ export const handleAIModeration = (client: Client) => { : undefined, MODERATION_LOG_CHANNEL_ID, ); + await sendAuditLog( + client, + embed, + message.content && message.content.length > 1000 + ? message.content + : undefined, + "1419211778793144411", + ); } catch (error) { console.error("Error in AI moderation:", error); } |