ComponentBuilder
Represents a discord component
Implements
JSONEncodable<AnyAPIActionRowComponent| Name | Constraints | Optional | Default | Description |
|---|---|---|---|---|
| DataType | Partial<APIBaseComponent<ComponentType | Yes | APIBaseComponent<ComponentType> | None |
constructor(data)
Constructs a new instance of the
ComponentBuilder class| Name | Type | Optional | Description |
|---|---|---|---|
| data | Partial<DataType> | No | None |
Readonly
The API data associated with this component