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

Method saveConfig

im/im.ts:154–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152
153 static async saveConfig() {
154 await this.init();
155 await this.db.write();
156 }
157
158 private static normalize() {
159 const data = this.db?.data as any;
160 if (!data) return;

Callers 2

ImageMonitorPluginClass · 0.45
handleConfigCommandMethod · 0.45

Calls 2

initMethod · 0.95
writeMethod · 0.80

Tested by

no test coverage detected