Can buttons and action row be created as objects?
So I know you can create embeds using objects, I was wondering if the same could be done with action rows or buttons.
13 Replies
• 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.yes
well the docs I sent doesn't really prove anything .-.
something like this
custom_id iirc
ah okay
yeah I think they're in snake_case
yeah using component builders is better
but you need to set the type
setting the type to ButtonComponent
set it to ComponentType.Button
Alright got it working thanks alot!