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

Method getConfig

ai/ai.ts:1601–1603  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1599
1600 getConfig(): DB {
1601 return { ...this.currentConfig };
1602 }
1603
1604 async updateConfig(updater: (config: DB) => void): Promise<void> {
1605 this.writeQueue = this.writeQueue.then(async () => {
1606 const oldSnapshot: DB = JSON.parse(JSON.stringify(this.currentConfig));

Callers 15

createTelegraphPageMethod · 0.45
sendLongMessageMethod · 0.45
sendImagesMethod · 0.45
sendVideosMethod · 0.45
processMethod · 0.45
getConfigFunction · 0.45
executeMethod · 0.45
setStreamMethod · 0.45
setResponsesMethod · 0.45
setProviderTypeMethod · 0.45
deleteConfigMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected