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 toolkit12mo 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/luna12mo ago
wdym do you mean handling buttons
asd69420666
asd69420666OP12mo ago
Yes
d.js docs
d.js docs12mo ago
guide Message Components: Buttons read more

Did you find this page helpful?