From def2aedb08cd6c1dedd29cd9eb88b66a3dfe02c2 Mon Sep 17 00:00:00 2001 From: ringoXD Date: Sat, 16 Mar 2024 16:02:03 +0900 Subject: [PATCH] fix interaction --- packages/admin/commands/globalban.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/admin/commands/globalban.js b/packages/admin/commands/globalban.js index c1cb1bf..a04cb10 100755 --- a/packages/admin/commands/globalban.js +++ b/packages/admin/commands/globalban.js @@ -76,7 +76,10 @@ module.exports = { ); } - await interaction.deferReply(); + if (subcommand !== 'report') { + console.log('Defering') + await interaction.deferReply(); + } if (subcommand === LANG.commands.globalban.subcommands.sync.name) { const member = interaction.guild.members.cache.get(interaction.user.id); if (!member.permissions.has([PermissionsBitField.Flags.Administrator])) {