Can't fetch interaction.reply

I'm trying to, after the interaction with a user select menu, to edit the reply but i receive the error : DiscordAPIError[10015]: Unknown Webhook slash command : https://sourceb.in/hCjYlv22Z6 component file : https://sourceb.in/55re83d6JY
9 Replies
d.js toolkit
d.js toolkit8mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - 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! - Marked as resolved by OP
treble/luna
treble/luna8mo ago
an interaction webhook will expire after 15 minutes and also your fetchreply in your button there will probably produce that since you havent replied to the interaction
Massicraft
Massicraft8mo ago
i want to edit the reply to the command
treble/luna
treble/luna8mo ago
then use <Interaction>.update assuming the interaction happened on the message you want to update
Massicraft
Massicraft8mo ago
but i want be able to get the embed and edit it
treble/luna
treble/luna8mo ago
then use <Interaction>.update
that will update the message including the embeds attached to it
Massicraft
Massicraft8mo ago
so how do i modify the embed instead of replacing it with a new one bc i know that with interaction.update you replace something
treble/luna
treble/luna8mo ago
<Interaction>.message.embeds returns an array of embeds attached to the message
Massicraft
Massicraft8mo ago
ty very much it works