Skip to content
Advertisement

Interaction has already been acknowledged Discord.js

This command keeps on returning Interaction has already been acknowledged. How can I solve this?

Here’s the code I’m currently using:

JavaScript

The error is showing:

JavaScript

Advertisement

Answer

On line 44: await i.deferUpdate({ fetchReply: true }); It makes the error because the interaction has already been replied to. The error should go away when you remove this line. You also should replace await interaction.editReply with interaction.followUp on line 51, 60, 71, 80, 90, 96 and 106. And yup I answer your question again.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement