mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-08 06:54:24 +00:00
18 lines
594 B
TypeScript
18 lines
594 B
TypeScript
import type { OpenClawPluginApi } from "openclaw/plugin-sdk";
|
|
import { emptyPluginConfigSchema } from "openclaw/plugin-sdk";
|
|
import { googlechatDock, googlechatPlugin } from "./src/channel.js";
|
|
import { setGoogleChatRuntime } from "./src/runtime.js";
|
|
|
|
const plugin = {
|
|
id: "googlechat",
|
|
name: "Google Chat",
|
|
description: "OpenClaw Google Chat channel plugin",
|
|
configSchema: emptyPluginConfigSchema(),
|
|
register(api: OpenClawPluginApi) {
|
|
setGoogleChatRuntime(api.runtime);
|
|
api.registerChannel({ plugin: googlechatPlugin, dock: googlechatDock });
|
|
},
|
|
};
|
|
|
|
export default plugin;
|