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

Method initDB

lu_bs/lu_bs.ts:71–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 this.db = await JSONFilePreset(dbPath, {
70 subscriptions: [],
71 lastMessages: {} // 存储最后发送的消息ID,用于删除
72 });
73 }
74
75 // 加载贴纸包
76 private async loadStickerSet() {
77 try {
78 const client = await getGlobalClient();
79 if (!client) return;
80

Callers 3

setupMethod · 0.95
sendHourlyStickersMethod · 0.95
LuBsPluginClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected