Represents a button builder.
Extends
BuilderButtonComponentConstructs a new instance of the
ButtonBuilder class| Name | Type | Optional | Description |
|---|---|---|---|
| data | Partial<ButtonComponentData> | Partial<APIButtonComponent> | Yes | None |
Creates a new button builder from JSON data
| Name | Type | Optional | Description |
|---|---|---|---|
| other | JSONEncodable<APIButtonComponent> | APIButtonComponent | No | The other data |
Sets the emoji to display on this button
| Name | Type | Optional | Description |
|---|---|---|---|
| emoji | ComponentEmojiResolvable | No | The emoji to display on this button |