From 0e87bbd3940d89defcb04926587b35c8f4d1947f Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Thu, 16 Jun 2022 14:32:18 -0400 Subject: remove util classes, move config out of src --- src/context-menu-commands/user/modlog.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/context-menu-commands/user/modlog.ts') diff --git a/src/context-menu-commands/user/modlog.ts b/src/context-menu-commands/user/modlog.ts index bdb311f..7f3103d 100644 --- a/src/context-menu-commands/user/modlog.ts +++ b/src/context-menu-commands/user/modlog.ts @@ -1,5 +1,5 @@ import { ModlogCommand } from '#commands'; -import { SlashMessage } from '#lib'; +import { emojis, SlashMessage } from '#lib'; import { CommandUtil, ContextMenuCommand } from 'discord-akairo'; import { ApplicationCommandType, type ContextMenuCommandInteraction } from 'discord.js'; @@ -15,12 +15,12 @@ export default class ModlogContextMenuCommand extends ContextMenuCommand { public override async exec(interaction: ContextMenuCommandInteraction) { if (!interaction.inCachedGuild()) return interaction.reply({ - content: `${util.emojis.error} You can't use this command outside of a server.`, + content: `${emojis.error} You can't use this command outside of a server.`, ephemeral: true }); if (!interaction.member?.permissions.has('ManageMessages')) return interaction.reply({ - content: `${util.emojis.error} You can't use this command because you have the **Manage Messages** permission.`, + content: `${emojis.error} You can't use this command because you have the **Manage Messages** permission.`, ephemeral: true }); -- cgit