mirror of https://github.com/openclaw/openclaw.git
7 lines
342 B
TypeScript
7 lines
342 B
TypeScript
import type { PluginRuntime } from "openclaw/plugin-sdk/core";
|
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
|
|
const { setRuntime: setDiscordRuntime, getRuntime: getDiscordRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>("Discord runtime not initialized");
|
|
export { getDiscordRuntime, setDiscordRuntime };
|