From d2a020837267bf024f508b402f596f8e242672ed Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 11 Jul 2022 18:44:09 +0200 Subject: create task categories --- src/tasks/updateHighlightCache.ts | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/tasks/updateHighlightCache.ts (limited to 'src/tasks/updateHighlightCache.ts') diff --git a/src/tasks/updateHighlightCache.ts b/src/tasks/updateHighlightCache.ts deleted file mode 100644 index 4677ea7..0000000 --- a/src/tasks/updateHighlightCache.ts +++ /dev/null @@ -1,15 +0,0 @@ -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(); - } -} -- cgit