blob: 44ddd90c4c9c87c407171ec2cb9e7c6c0ae18cb9 (
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 async exec() {
return this.client.highlightManager.syncCache();
}
}
|