Fetch reply from a command to button interaction

How can i fetch a reply from x command so i can edit the reply in y button interaction
Solution:
the interaction passed through the interaction-handler is a ButtonInteraction so that should help https://discordjs.dev/docs/packages/discord.js/14.14.1/ButtonInteraction:Class#message...
discord.js | ButtonInteraction
Represents a button interaction.
Jump to solution
3 Replies
Solution
UndiedGFX
UndiedGFX•13mo ago
the interaction passed through the interaction-handler is a ButtonInteraction so that should help https://discordjs.dev/docs/packages/discord.js/14.14.1/ButtonInteraction:Class#message
discord.js | ButtonInteraction
Represents a button interaction.
paulandrew
paulandrewOP•13mo ago
Eyy sorry for late repl reply* anyways thanks for the help
UndiedGFX
UndiedGFX•13mo ago
mark it as solved with that link then 😉
Want results from more Discord servers?
Add your server