Buttons working on past activities
Hey everyone. I'm making an interaction with an embed and buttons. The problem is, when a new interaction is called, the new buttons still work on the past embed (doing the calculations and all of that) as if it shares the same buttons, what can I do to make sure the activity is fully ended and the buttons only work on the same embed?
6 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!client.on('interactionCreate', bi => {})
Yeah I already did thatthis is the one of many end results
The button is removed on every end possibility
Once I start a new interaction and press the button to draw another card it adds the card on both the new card list and also adds it onto the old one
It's like the interaction didn't end and is still awaiting imput
Is there documentation on that?
And I should replace this with the collector right?
I'll try it, thank you
OMG it worked out perfectly. Thank you so much🤘