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-clear.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-clear.ts')
-rw-r--r-- | src/commands/utilities/highlight-clear.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/utilities/highlight-clear.ts b/src/commands/utilities/highlight-clear.ts index b905f3b..df9f387 100644 --- a/src/commands/utilities/highlight-clear.ts +++ b/src/commands/utilities/highlight-clear.ts @@ -1,4 +1,4 @@ -import { BushCommand, ConfirmationPrompt, type CommandMessage, type SlashMessage } from '#lib'; +import { BushCommand, ConfirmationPrompt, emojis, type CommandMessage, type SlashMessage } from '#lib'; import assert from 'assert'; import { highlightSubcommands } from './highlight-!.js'; @@ -21,11 +21,11 @@ export default class HighlightClearCommand extends BushCommand { if (message.util.isSlashMessage(message)) await message.interaction.deferReply(); const confirm = await ConfirmationPrompt.send(message, { content: `Are you sure you want to clear your highlight list?` }); - if (!confirm) return await message.util.reply(`${util.emojis.warn} You decided not to clear your highlight list.`); + if (!confirm) return await message.util.reply(`${emojis.warn} You decided not to clear your highlight list.`); const success = await client.highlightManager.removeAllHighlights(message.guild.id, message.author.id); - if (!success) return await message.util.reply(`${util.emojis.error} There was an error clearing your highlight list.`); + if (!success) return await message.util.reply(`${emojis.error} There was an error clearing your highlight list.`); - return await message.util.reply(`${util.emojis.success} Successfully cleared your highlight list.`); + return await message.util.reply(`${emojis.success} Successfully cleared your highlight list.`); } } |