- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- 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!
#Button Interaction failed even though it did what I intended?
11 messages · Page 1 of 1 (latest)
how do you defer it
u mean this?
await interaction.deferReply({ ephemeral: true });```
can you try adding fetchReply: true
i get the same error still
await interaction.deferReply({ ephemeral: true, fetchReply: true });
wdym?
im using webhooks to send the message
webhooksData.forEach(async webhook => {
if (!webhook) {
return console.error("Failed to create webhook.");
}
await webhook.first().send({ content: "hello" });
});
i see in your editReply content: "updated" is its writing updated?