Dynamically adding buttons component to interaction
Good day were trying to add buttons to a interaction reply
Create buttons dynamically - then add the array to the "new ActionRowBuilder().addComponents()" command, fails and gives this error "DiscordAPIError[50035]: Invalid Form Body components[0].components[BASE_TYPE_BAD_LENGTH]: Must be between 1 and 5 in length."
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
d-Iaa
discord.js - Imagine an app
Support server for discord.js, a Node.js module to interact with Discord's apps API.