(groupIds: number[])
| 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 | } |
no test coverage detected