4 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!h
How to I put on button 1, button2 and button3 to be available only the one who is running the /expedition command?
U should handle the button inside your slashcommand scope then u could check the
buttonInteraction.user.id === interaction.user.id
afaikYou can also compare <ButtonInteraction>.user.id with <ButtonInteraction>.message.interaction.user.id