mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:40:42 +00:00
25 lines
691 B
TypeScript
25 lines
691 B
TypeScript
import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
import { registerDiscordSubagentHooks } from "./subagent-hooks-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);
|
|
},
|
|
});
|