author only buttons

how do i do this
3 Replies
d.js toolkit
d.js toolkit2y ago
• 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.
axiprime
axiprime2y ago
There is many ways, I would store the user id in the button, so each time somebody interact with it you compare the user id with the customId stored in the button. You can also store the user id in the message/embed to do the same thing.
Soap
SoapOP2y ago
yeah i just did it 👍
Want results from more Discord servers?
Add your server