Discord: pass member role IDs to agent route resolution

This commit is contained in:
Minidoracat
2026-01-29 14:30:32 +00:00
committed by Shadow
parent 75fc8cf25c
commit 334a291fb7

View File

@@ -220,6 +220,7 @@ export async function preflightDiscordMessage(
}
// Fresh config for bindings lookup; other routing inputs are payload-derived.
const memberRoleIds = params.data.member?.roles?.map((r: { id: string }) => r.id) ?? [];
const route = resolveAgentRoute({
cfg: loadConfig(),
channel: "discord",