ButtonBuilder is a utility class for creating Discord buttons. It allows you to define button properties such as customId, label, style, URL, disabled state, and emoji. It validates the properties and builds an ActionRowBuilder containing the buttons. And it's much more convenient than using the Discord.js ButtonBuilder directly.

It takes an array of ButtonBuilderProps and constructs buttons based on those properties. Each button must have a customId (unless it's a Link style button), a label, and a style. Each obj passed to the constructor is a diferent button.

Constructors

Properties

Methods

Constructors

Properties

Methods