feat(message-capture): add bot exclusion logic for message capture

This commit is contained in:
asepharyana
2026-08-15 20:35:51 +07:00
parent 25b220b7f9
commit 66c33a2657
2 changed files with 16 additions and 0 deletions
@@ -32,6 +32,13 @@ export const configSchema = z
.default("")
.transform((v) => v.split(",").filter(Boolean))
.describe("Thread IDs to exclude from capture"),
BOT_EXCLUDED_CHANNEL_IDS: z
.string()
.default("1206269771340058694")
.transform((v) => v.split(",").filter(Boolean))
.describe(
"Channel IDs where bot messages are NOT captured/analyzed (bot detection stays on everywhere else)",
),
// ── Legacy voice ─────────────────────────────────────────────────────
VOICE_GUILD_ID: z.string().min(1).optional(),