diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-06-16 14:32:18 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-06-16 14:32:18 -0400 |
commit | 0e87bbd3940d89defcb04926587b35c8f4d1947f (patch) | |
tree | e50860d4dc25a11d4c3977b583284c4bcad1b077 /src/commands/utilities/highlight-show.ts | |
parent | 661e4c9935aeb8760dafc7ced4bbec6cc356a033 (diff) | |
download | tanzanite-0e87bbd3940d89defcb04926587b35c8f4d1947f.tar.gz tanzanite-0e87bbd3940d89defcb04926587b35c8f4d1947f.tar.bz2 tanzanite-0e87bbd3940d89defcb04926587b35c8f4d1947f.zip |
remove util classes, move config out of src
Diffstat (limited to 'src/commands/utilities/highlight-show.ts')
-rw-r--r-- | src/commands/utilities/highlight-show.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/utilities/highlight-show.ts b/src/commands/utilities/highlight-show.ts index 80ba4ca..d966f3a 100644 --- a/src/commands/utilities/highlight-show.ts +++ b/src/commands/utilities/highlight-show.ts @@ -1,4 +1,4 @@ -import { AllowedMentions, BushCommand, Highlight, type CommandMessage, type SlashMessage } from '#lib'; +import { AllowedMentions, BushCommand, colors, emojis, Highlight, type CommandMessage, type SlashMessage } from '#lib'; import assert from 'assert'; import { EmbedBuilder } from 'discord.js'; import { highlightSubcommands } from './highlight-!.js'; @@ -25,7 +25,7 @@ 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.`); + if (!highlight.words.length) return message.util.reply(`${emojis.error} You are not highlighting any words.`); const embed = new EmbedBuilder() .setTitle('Highlight List') @@ -35,7 +35,7 @@ export default class HighlightShowCommand extends BushCommand { .join('\n') .substring(0, 4096) ) - .setColor(util.colors.default); + .setColor(colors.default); if (highlight.blacklistedChannels.length) embed.addFields([ |