4 Replies
d.js toolkit
d.js toolkit15mo 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
M1hneaOP15mo 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
shullex15mo ago
U should handle the button inside your slashcommand scope then u could check the buttonInteraction.user.id === interaction.user.id afaik
Danial
Danial15mo ago
You can also compare <ButtonInteraction>.user.id with <ButtonInteraction>.message.interaction.user.id
Want results from more Discord servers?
Add your server