Its not possible to reuse / edit the same reply over and over again?
I reply to an initial Chatinput command with Ephemeral reply including an actionrow with interactive components.
After interactions with these i want to edit the reply which is working fine but i then there will be an error because im not doing a new reply. Is there a way to avoid this ?
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 OPyou can use editReply up until 15 minutes after the interaction
Yes i do, and like i said the content of the reply gets changed (i replace a stringselectMenu with some buttons) and then in the first button there are these animated dots (and disabled) and after a while theres this error "this interaction failed"
then you arent replying anymore
/updating
Yeah i would like avoid a new reply thats what this is about
then just update
:method: ButtonInteraction#update()
[email protected]
Updates the original message of the component on which the interaction was received on.
this works
i alway thought i had to update the previous interaction, passing it along in my handler callback
overengineerd that stuff lol
Thanks @treble/luna