aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-04-23 09:49:33 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-04-23 09:49:33 -0400
commit5c9ec9e5c5529bae1da0573c9d4edf84ffd986d4 (patch)
treea5039b3926782c0ec497356e0d668be4b1d6dcfb /src/commands
parentc1dfab0d98bea399c2cb2f43f211396a687fab38 (diff)
downloadtanzanite-5c9ec9e5c5529bae1da0573c9d4edf84ffd986d4.tar.gz
tanzanite-5c9ec9e5c5529bae1da0573c9d4edf84ffd986d4.tar.bz2
tanzanite-5c9ec9e5c5529bae1da0573c9d4edf84ffd986d4.zip
fix: make hl show sync cache
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/utilities/highlight-show.ts2
1 files changed, 2 insertions, 0 deletions
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()