Why does the APIButtonComponent not have a custom_id prop per default?

I know you can type assert it as APIButtonComponentWithCustomId but like why is this not in the APIButtonComponent type?
3 Replies
d.js toolkit
d.js toolkit5mo 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
TÆMBØ
TÆMBØ5mo ago
Because Link buttons don't have custom ids
Thorminate
ThorminateOP5mo ago
sadge

Did you find this page helpful?