summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-25 19:10:38 -0700
committerFuwn <[email protected]>2025-09-25 19:10:38 -0700
commite541ea1a8ceb2f3ef00567eca2ad744ee6977a46 (patch)
treee97cd9ab6db51bfa6fa91d9ffe6feba9df0f84fa /packages
parentfeat(gateway:aiModeration): Optimise API costs (diff)
downloadumabotdiscord-e541ea1a8ceb2f3ef00567eca2ad744ee6977a46.tar.xz
umabotdiscord-e541ea1a8ceb2f3ef00567eca2ad744ee6977a46.zip
refactor(gateway:moderationAgent): Move to moderationAgent module
Diffstat (limited to 'packages')
-rw-r--r--packages/gateway/src/listeners/index.ts2
-rw-r--r--packages/gateway/src/listeners/moderationAgent/index.ts (renamed from packages/gateway/src/listeners/aiModeration.ts)2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/gateway/src/listeners/index.ts b/packages/gateway/src/listeners/index.ts
index 6371753..8863e00 100644
--- a/packages/gateway/src/listeners/index.ts
+++ b/packages/gateway/src/listeners/index.ts
@@ -2,7 +2,7 @@ import { Client } from "discord.js";
import { handleIqdbModeration } from "./iqdbModeration";
import { handleRoleplayUmagram } from "./roleplayUmagram";
import { handleArtMediaModeration } from "./artMediaModeration";
-import { handleAIModeration } from "./aiModeration";
+import { handleAIModeration } from "./moderationAgent/aiModeration";
import { handleAnnouncementReaction } from "./announcementReaction";
import { handleRoleProtection } from "./roleProtection";
import { handleChannelDeletion } from "./channelDeletion";
diff --git a/packages/gateway/src/listeners/aiModeration.ts b/packages/gateway/src/listeners/moderationAgent/index.ts
index 54f115b..36dce6d 100644
--- a/packages/gateway/src/listeners/aiModeration.ts
+++ b/packages/gateway/src/listeners/moderationAgent/index.ts
@@ -5,7 +5,7 @@ import {
TextChannel,
ThreadChannel,
} from "discord.js";
-import { sendAuditLog } from "../commands/utilities";
+import { sendAuditLog } from "../../commands/utilities";
const SKIP_ACTION = false;
const EXCLUDED_CATEGORIES = [