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