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

Method clickCallbackButton

checkin/checkin.ts:494–504  ·  view source on GitHub ↗
(client: any, peer: string, msg: Api.Message, target: SignTarget)

Source from the content-addressed store, hash-verified

492
493 // ── 签到 ──
494
495 private async runAllSigns(source: string, fallbackPeer?: string): Promise<void> {
496 if (this.running) return;
497 this.running = true;
498 try {
499 const results: Array<{ target: SignTarget; result: SignResult }> = [];
500 for (const t of this.cfg.get().targets.filter((x) => x.enabled)) {
501 if (results.length) await sleep(2000);
502 results.push({ target: t, result: await this.runSingleSign(t) });
503 }
504 await this.report(source, results, fallbackPeer);
505 } finally {
506 this.running = false;
507 }

Callers 1

runSingleSignMethod · 0.95

Calls 1

findCallbackButtonMethod · 0.95

Tested by

no test coverage detected