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 toolkit2y 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ãozinhoOP2y ago
if I put interaction.deferUpdate() it gives an error
Joãozinho
JoãozinhoOP2y ago
Squid
Squid2y ago
Use <ButtonInteraction>.update() to acknowledge the interaction and edit the message that the buttons are on
Joãozinho
JoãozinhoOP2y ago
Joãozinho
JoãozinhoOP2y ago
it gives me an error when using interaction.update() I think and why is it in a collector no?
Squid
Squid2y ago
What do you mean by "an error"?
Syjalo
Syjalo2y ago
Note: i is your ButtonInteraction and interaction is your ChatInputCommandInteraction ig
Joãozinho
JoãozinhoOP2y ago
Joãozinho
JoãozinhoOP2y ago
tanks
Joãozinho
JoãozinhoOP2y ago
I know how I can delete this followUp?
Joãozinho
JoãozinhoOP2y ago
message.deleteReply gave error
d.js docs
d.js docs2y ago
method ChatInputCommandInteraction#deleteReply() Deletes a reply to this interaction.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Joãozinho
JoãozinhoOP2y ago
so however if I put interaction.deleteReply it deletes the one from the interection.reply that gave the previous one @thee2d
Want results from more Discord servers?
Add your server