1 2 3 4 5 6 7 8 9 10 11 12 13 14
import { BotTask, Time } from '#lib'; export default class UpdateHighlightCacheTask extends BotTask { public constructor() { super('updateHighlightCache', { delay: 5 * Time.Minute, runOnStart: false }); } public async exec() { return this.client.highlightManager.syncCache(); } }