From d1217f05d0b018b9b0e59ccb8299259d6ee2d5f9 Mon Sep 17 00:00:00 2001 From: Supositware Date: Thu, 18 Aug 2022 01:45:55 +0200 Subject: [PATCH] followUp instead of reply as the command may already have replied when it errors out --- events/client/interactionCreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/client/interactionCreate.js b/events/client/interactionCreate.js index b075f2e7..87aa3121 100644 --- a/events/client/interactionCreate.js +++ b/events/client/interactionCreate.js @@ -61,7 +61,7 @@ export default { } catch (error) { console.error(error); - await interaction.reply({ content: 'There was an error while executing this command!', ephemeral: true }); + await interaction.followUp({ content: 'There was an error while executing this command!', ephemeral: true }); } }, };