how do i detect if an interacion is a button?

Im creating seperate handlers for buttons, modals, etc. but how do i detect if an interaction is a button in discordjsV14
5 Replies
d.js docs
d.js docs3y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Kay
KayOP3y ago
thats outdated i think since v14
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Kay
KayOP3y ago
ah thx :)
Want results from more Discord servers?
Add your server