interaction user export
I made private market bot. if I want to sell something use /sell and put data then bot will send data with embed and buying button. if someone want to buy mine he click the button then bot will create ticket and give perm to buyer and seller to send message in new ticket channel. I used module export to send the seller's data and seller id to button.js. but in this case when another person use slash command all the seller's data changed to latest seller's data. How can I send each selling data to the button.js
2 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!post be look like