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

Method getConfig

im/im.ts:147–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145
146 static async getConfig(): Promise<Config> {
147 await this.init();
148 // 再次保证标准化(防止外部意外写入)
149 this.normalize();
150 return this.db.data;
151 }
152
153 static async saveConfig() {
154 await this.init();
155 await this.db.write();

Callers 4

ImageMonitorPluginClass · 0.45
handleConfigCommandMethod · 0.45
handleNewMessageMethod · 0.45
handleEditedMessageMethod · 0.45

Calls 2

initMethod · 0.95
normalizeMethod · 0.95

Tested by

no test coverage detected