Follow Up to interaction.deferUpdate() throws error
Hey guys,
When I try to followUp() to an ButtonInteraction I get the error
InteractionAlreadyReplied
. A print of interaction.deferred (true) and interaction.replied (false) shows that it is clearly not already replied. What am I missing here?8 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPDJS Version: 14.14.1
NodeJS Version: 18.17.1
First I call
await interaction.deferUpdate();
After that I fetch some data.
And after some lines of fetching data comes
I checked like 10x times. there is no interaction.reply() or anything else between those callsfollowUp shouldnt be able to throw that error. Can you try editReply() as a test? Or show the error stack
Sure. I am using sapphire as a framework but here you go
Same error with editReply() btw
Well this is being thrown by deferUpdate()
Long before either followUp or editReply
So you mean something defers the interaction even before my deferUpdate() call?
seems that way
Alright thank you for your help :PES_Ok: :aPES_Love: