From 5c9ec9e5c5529bae1da0573c9d4edf84ffd986d4 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sat, 23 Apr 2022 09:49:33 -0400 Subject: fix: make hl show sync cache --- src/commands/utilities/highlight-show.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/commands/utilities/highlight-show.ts b/src/commands/utilities/highlight-show.ts index 1eb9fd0..962d421 100644 --- a/src/commands/utilities/highlight-show.ts +++ b/src/commands/utilities/highlight-show.ts @@ -26,6 +26,8 @@ export default class HighlightShowCommand extends BushCommand { } }); + void client.highlightManager.syncCache(); + if (!highlight.words.length) return message.util.reply(`${util.emojis.error} You are not highlighting any words.`); const embed = new EmbedBuilder() -- cgit