Files
openclaw/extensions/discord/account-inspect-api.ts
2026-06-04 22:06:01 -04:00

8 lines
351 B
TypeScript

// Discord API module exposes the plugin public contract.
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-contracts";
import { inspectDiscordAccount } from "./src/account-inspect.js";
export function inspectDiscordReadOnlyAccount(cfg: OpenClawConfig, accountId?: string | null) {
return inspectDiscordAccount({ cfg, accountId });
}