#Get message object from interaction (question)

5 messages · Page 1 of 1 (latest)

deep dove
#

• 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.

woeful pewter
#

Interactions are data that a user sent a slash command, pressed a button, etc.; they're not messages that can be reacted to
However, your response to an interaction can return an InteractionResponse or a Message instance, and you can create collectors on either of those

#

I don't know your specific use case, but just something like:

const response = await interaction.reply('React to me')
const collector = response.createReactionCollector(optionsHere)
#

You just need to have a message that exists which can be reacted to

#

Yep