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

Method setTelegraphToken

deepwiki/deepwiki.ts:363–369  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

361 }
362
363 async setTelegraphToken(token: string): Promise<void> {
364 this.ensureReady();
365 await this.dbMain.read();
366 this.dbMain.data ||= { chats: {}, telegraphToken: "" };
367 this.dbMain.data.telegraphToken = token || "";
368 await this.dbMain.write();
369 }
370}
371
372class DeepWikiMcp {

Callers 1

ensureTelegraphTokenMethod · 0.80

Calls 2

ensureReadyMethod · 0.95
writeMethod · 0.80

Tested by

no test coverage detected