Dealing with button components
Hello guys!
This code is basically mapping the button components of my interaction that were used previously, what I'm doing is basically "filtering" for my current button that has the same ID and returning the others. My question is how I can put it inside "components" to be able to send the buttons, because it's returning the following in JSON:
12 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@Luaan I'm not entirely sure atm, I'll check tmrw also using light mode is a crime.
okay, thanks!
why does everyone say that to me 😭😭
where should i implement this?
like this way?
inside subscribeRow constant?
the console.log() to the "interaction.message.components[subscribeRowIndex]" is returning this
okay i think i've fixed it
because its true, using light mode is a crime
sadd