so i have a doubt my system is giving "interaction failed"

so i have a doubt my system is giving "interaction failed" i want to remove this error when i edit a reply
15 Replies
d.js toolkit
d.js toolkit12mo ago
• 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.
Joãozinho
Joãozinho12mo ago
if I put interaction.deferUpdate() it gives an error
Joãozinho
Joãozinho12mo ago
Squid
Squid12mo ago
Use <ButtonInteraction>.update() to acknowledge the interaction and edit the message that the buttons are on
Joãozinho
Joãozinho12mo ago
Joãozinho
Joãozinho12mo ago
it gives me an error when using interaction.update() I think and why is it in a collector no?
Squid
Squid12mo ago
What do you mean by "an error"?
Syjalo
Syjalo12mo ago
Note: i is your ButtonInteraction and interaction is your ChatInputCommandInteraction ig
Joãozinho
Joãozinho12mo ago
Joãozinho
Joãozinho12mo ago
tanks
Joãozinho
Joãozinho12mo ago
I know how I can delete this followUp?
Joãozinho
Joãozinho12mo ago
message.deleteReply gave error
d.js docs
d.js docs12mo ago
method ChatInputCommandInteraction#deleteReply() Deletes a reply to this interaction.
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Joãozinho
Joãozinho12mo ago
so however if I put interaction.deleteReply it deletes the one from the interection.reply that gave the previous one @thee2d