blob: 4ab55449afd65bef74283ae260b3804dde796e71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { BushTask } from '../../../lib/extensions/discord-akairo/BushTask.js';
import { Time } from '../../../lib/utils/BushConstants.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();
}
}
|