UNPKG

@gguf/claw

Version:

Multi-channel AI gateway with extensible messaging integrations

24 lines (23 loc) 1.09 kB
import { listSkillCommandsForAgents } from "../../auto-reply/skill-commands.js"; import type { OpenClawConfig, ReplyToMode } from "../../config/config.js"; import { type RuntimeEnv } from "../../runtime.js"; import { createDiscordGatewayPlugin } from "./gateway-plugin.js"; import { resolveDiscordRestFetch } from "./rest-fetch.js"; export type MonitorDiscordOpts = { token?: string; accountId?: string; config?: OpenClawConfig; runtime?: RuntimeEnv; abortSignal?: AbortSignal; mediaMaxMb?: number; historyLimit?: number; replyToMode?: ReplyToMode; }; declare function dedupeSkillCommandsForDiscord(skillCommands: ReturnType<typeof listSkillCommandsForAgents>): import("../../agents/skills.ts").SkillCommandSpec[]; export declare function monitorDiscordProvider(opts?: MonitorDiscordOpts): Promise<void>; export declare const __testing: { createDiscordGatewayPlugin: typeof createDiscordGatewayPlugin; dedupeSkillCommandsForDiscord: typeof dedupeSkillCommandsForDiscord; resolveDiscordRestFetch: typeof resolveDiscordRestFetch; }; export {};