Files
openclaw/extensions/discord/index.ts
Peter Steinberger cac0b2db18 refactor: move transcripts into core
Move meeting notes into core transcripts, remove the bundled meeting-notes plugin/API, and require explicit transcripts.enabled before exposing the recording-capable tool.
2026-05-26 14:51:11 +01:00

27 lines
857 B
TypeScript

import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
import { registerDiscordSubagentHooks } from "./subagent-hooks-api.js";
import { discordVoiceTranscriptsSourceProvider } from "./transcripts-source-api.js";
export default defineBundledChannelEntry({
id: "discord",
name: "Discord",
description: "Discord channel plugin",
importMetaUrl: import.meta.url,
plugin: {
specifier: "./channel-plugin-api.js",
exportName: "discordPlugin",
},
runtime: {
specifier: "./runtime-setter-api.js",
exportName: "setDiscordRuntime",
},
accountInspect: {
specifier: "./account-inspect-api.js",
exportName: "inspectDiscordReadOnlyAccount",
},
registerFull(api) {
registerDiscordSubagentHooks(api);
api.registerTranscriptSourceProvider(discordVoiceTranscriptsSourceProvider);
},
});