How to add an interaction for the buttons added here
This command file is in a separate folder ./commands/utility as taught in guide, how do I add an interaction to make button send an ephemeral message to user
3 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!@Qjuh I want the button to stay active forever, I can't find anything like that in the guide
Will this code remain in same command file?
That can't be right
I'm still confused but thanks for the link to guide
I read the buttons and component reactions guide twice but can't figure it out
Even the hit and trial method didn't work for me