7 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 OPTo what is that a reply
which type of interaction is it
console.log(interaction.type) returns 2.
it is used in
.on('collect'
If you are waiting for button or select menu input from a specific message, don't create the collector on the channel.
- Channel collectors return component interactions for any component within that channel.
thats one thing
and use deferUpdate on the ButtonInteraction
okay, thank you for explanation, will try to edit the code. yes
im waiting for 2 users to click on buttons. Rock paper scissors game to be more specific
Creating collectors on the channzl will causes issues eventually anyhow