#How to transfer data from modal to button?

2 messages · Page 1 of 1 (latest)

gilded falcon
#

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

broken osprey
#

Save the necessary data somewhere (eg a db, Map) with some key and attach that key to the button custom id. Then get that key from the custom id and you'll have access to the data.