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

Method initializeOnStartup

autodelcmd/autodelcmd.ts:713–725  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

711 console.log("[autodelcmd] 插件启动,开始初始化...");
712 const initialized = await ensureServiceInitialized();
713 if (initialized) {
714 console.log("[autodelcmd] 插件启动初始化成功");
715 } else {
716 console.log("[autodelcmd] 插件启动初始化失败,将在首次使用时重试");
717 }
718 } catch (error) {
719 console.error("[autodelcmd] 插件启动初始化出错:", error);
720 }
721 }
722
723 description: string = `🗑️ 自动删除命令消息插件
724
725<b>功能说明:</b>
726- 自动监听并延迟删除特定命令的消息
727- 支持所有配置的自定义前缀和别名命令
728- 支持自定义删除规则和延迟时间

Callers 1

constructorMethod · 0.95

Calls 2

ensureServiceInitializedFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected