Add functions to buttons

How do I add functions to a button that shows up with slash command?
4 Replies
d.js toolkit
d.js toolkit11mo 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! - Marked as resolved by OP
treble/luna
treble/luna11mo ago
wdym do you mean handling buttons
asd69420666
asd69420666OP11mo ago
Yes
d.js docs
d.js docs11mo ago
guide Message Components: Buttons read more
Want results from more Discord servers?
Add your server