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

Method export

sendat/sendat.ts:60–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 task_id: this.task_id,
59 cid: this.cid,
60 msg: this.msg,
61 interval: this.interval,
62 cron: this.cron,
63 pause: this.pause,
64 time_limit: this.time_limit,
65 hour: this.hour,
66 minute: this.minute,
67 second: this.second,
68 current_count: this.current_count
69 };
70 }
71
72 // 减少时间限制计数
73 reduceTime(): boolean {
74 if (this.time_limit > 0) {
75 this.time_limit -= 1;
76 return this.time_limit === 0;
77 }

Callers 1

saveToDBMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected