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

Method enableAll

autorepeat/autorepeat.ts:280–285  ·  view source on GitHub ↗
(groupIds: number[])

Source from the content-addressed store, hash-verified

278 await this.cache.set("autorepeat_settings", Array.from(this.enabledGroups));
279 }
280
281 static async disableAll() {
282 this.enabledGroups.clear();
283 await this.cache.set("autorepeat_settings", []);
284 }
285
286 static isEnabled(groupId: number): boolean {
287 return this.enabledGroups.has(groupId);
288 }

Callers 1

Calls 2

addMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected