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
No description
3 Replies
d.js toolkit
d.js toolkit10mo 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!
d.js docs
d.js docs10mo ago
guide Message Components: Component interactions read more
Anurag Bansal
Anurag BansalOP10mo ago
@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
Want results from more Discord servers?
Add your server