ActionRowBuilder class
constructor
The ActionRowBuilder class provides multiple arguments which are all optional. The arguments can be used to add the ButtonBuilder or SelectMenuBuilder classes and create this way an action row.
Every ActionRowBuilder class may maximum include five components
Properties
components
Is an array with the Discord.js ButtonBuilder or StringSelectMenuBuilder classes so they can be send in a channel.
Functions
addComponents
Adds components which weren't added in the constructor to the ActionRowBuilder. The function returns the same ActionRowBuilder class so you don't have to declare it everytime again.
Last updated