MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / initialize

Method initialize

im/im.ts:195–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193
194 private async initialize() {
195 await ConfigManager.init();
196 console.log("[image_monitor] Plugin initialized");
197 }
198
199 // 消息监听器 - TeleBox会自动调用这个方法
200 listenMessageHandler = async (msg: Api.Message, options?: { isEdited?: boolean }) => {
201 const client = await getGlobalClient();

Callers 1

constructorMethod · 0.95

Calls 1

initMethod · 0.45

Tested by

no test coverage detected