Reacting after Interaction Reply with Embed
I have checked the document and from what I understand, I need to code it like this
const message = await interaction.reply({ embeds: [voteEmbed], files: [file] });
message.react('🍎')
.then(() => message.react('🍊'))
.then(() => message.react('🍇'))
but however it says message.react is not a function.
4 Replies
- 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[email protected] and node v21.5.0
Add fetchReply: true when replying so it will return a Message, not InteractionResponse
Oh my god, thank you so much! That did the trick!