disclaw/dist/router.d.ts
2026-04-08 14:24:45 +02:00

10 lines
No EOL
500 B
TypeScript

import { Message } from "discord.js";
import { DisclawDatabase } from "./db/database";
import { DisclawConfig } from "./config/loader";
/**
* Routes a Discord message to the correct agent based on channel_id.
* Returns true if the message was handled, false if the channel is not
* mapped to any agent.
*/
export declare function routeMessage(message: Message, db: DisclawDatabase, config: DisclawConfig, managementChannelId: string | null): Promise<boolean>;
//# sourceMappingURL=router.d.ts.map