Interaction has already been acknowledged
So I'm trying to create a user context menu command, but even if I defer or reply right after the event is fired I get the error
Interaction has already been acknowledged.
Here's my code:
5 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Why do you have two ifs for the same thing?
They fire one after the other
That's why the error
oh wait sorry I accidentally pasted it twice
In any point of you code before that
You call defer reply or defer update?
So there was some old code that was deferring it, but after I removed that I started getting the error
The reply to this interaction has not been sent or deferred.
that worked, thanks