Files
openclaw/extensions/discord/src/runtime-api.ts
2026-04-01 00:32:53 +09:00

55 lines
1.8 KiB
TypeScript

export {
buildComputedAccountStatusSnapshot,
buildTokenChannelStatusSummary,
PAIRING_APPROVED_MESSAGE,
projectCredentialSnapshotFields,
resolveConfiguredFromCredentialStatuses,
} from "openclaw/plugin-sdk/channel-status";
export {
buildChannelConfigSchema,
getChatChannelMeta,
jsonResult,
readNumberParam,
readStringArrayParam,
readStringParam,
resolvePollMaxSelections,
type ActionGate,
type ChannelPlugin,
type DiscordAccountConfig,
type DiscordActionConfig,
type DiscordConfig,
type OpenClawConfig,
} from "openclaw/plugin-sdk/discord-core";
export { DiscordConfigSchema } from "openclaw/plugin-sdk/discord-core";
export { readBooleanParam } from "openclaw/plugin-sdk/boolean-param";
export {
assertMediaNotDataUrl,
parseAvailableTags,
readReactionParams,
withNormalizedTimestamp,
} from "openclaw/plugin-sdk/discord-core";
export {
createHybridChannelConfigAdapter,
createScopedChannelConfigAdapter,
createScopedAccountConfigAccessors,
createScopedChannelConfigBase,
createTopLevelChannelConfigAdapter,
} from "openclaw/plugin-sdk/channel-config-helpers";
export {
createAccountActionGate,
createAccountListHelpers,
} from "openclaw/plugin-sdk/account-helpers";
export { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk/account-id";
export { loadOutboundMediaFromUrl } from "openclaw/plugin-sdk/discord";
export { resolveAccountEntry } from "openclaw/plugin-sdk/routing";
export type {
ChannelMessageActionAdapter,
ChannelMessageActionName,
} from "openclaw/plugin-sdk/channel-contract";
export {
hasConfiguredSecretInput,
normalizeResolvedSecretInputString,
normalizeSecretInputString,
} from "openclaw/plugin-sdk/secret-input";
export { resolveDiscordOutboundSessionRoute } from "./outbound-session-route.js";