blob: 22289ce815b7371296f6d5f29a3fcef03136b3c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { Time } from '#constants';
import { BushTask } from '../lib/extensions/discord-akairo/BushTask.js';
export default class UpdateHighlightCacheTask extends BushTask {
public constructor() {
super('updateHighlightCache', {
delay: 5 * Time.Minute,
runOnStart: false
});
}
public override async exec() {
return client.highlightManager.syncCache();
}
}
|