Editing an ephemeral reply from an interaction handler
How can I edit an ephemeral reply from an interaction handler?
Say that I have
ping.js
with an embed and a button in an ephemeral message, I want to be able to click that button and then edit the original ephemeral message from pinghandler.js
.Solution:Jump to solution
Read about button interactions and their methods
interaction.update
in particular.4 Replies
main question I'm asking is how to edit an ephemeral message from another file
I've tried fetching it by the fetched reply's ID which works, although then you can't update/edit the ephemeral message
Solution
Read about button interactions and their methods
interaction.update
in particular.ABSOLUTE LIFE SAVER