4 Replies
d.js toolkit
d.js toolkit9mo ago
- 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!
M1hnea
M1hnea9mo ago
h How to I put on button 1, button2 and button3 to be available only the one who is running the /expedition command?
shullex
shullex9mo ago
U should handle the button inside your slashcommand scope then u could check the buttonInteraction.user.id === interaction.user.id afaik
Danial
Danial9mo ago
You can also compare <ButtonInteraction>.user.id with <ButtonInteraction>.message.interaction.user.id