From e4b104eb7e1efc7f387514f92000d2cf702dcb14 Mon Sep 17 00:00:00 2001 From: Isaac Date: Mon, 10 Oct 2022 20:14:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/slash/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/slash/help.js b/src/commands/slash/help.js index de2ef9f..f5e5c0b 100644 --- a/src/commands/slash/help.js +++ b/src/commands/slash/help.js @@ -28,10 +28,10 @@ module.exports = class ClaimSlashCommand extends SlashCommand { /** @type {import("client")} */ const client = this.client; + await interaction.deferReply({ ephemeral: true }); const staff = await isStaff(interaction.guild, interaction.member.id); const settings = await client.prisma.guild.findUnique({ where: { id: interaction.guild.id } }); const getMessage = client.i18n.getLocale(settings.locale); - await interaction.deferReply({ ephemeral: true }); const commands = (await client.application.commands.fetch()) .filter(c => c.type === 1) .map(c => `> : ${c.description}`)