How to Respond to the interaction without displaying anything
I have created a function to edit the message according to the StringSelectMenu selection. However, the message "This interaction failed" is displayed even if the message is successfully edited.
Is there any way to respond to the interaction without displaying anything?
6 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.<interaction>.deferUpdate would work
Why don't you respond with an ephemeral success message
SelectMenuInteraction#deferUpdate()
Defers an update to the message to which the component was attached.
Like, "Successfully edited message."
I see that there was a feature called .update! Exactly what I was looking for. Thank you very much.