Creates a new label.
Optional
data: Partial<APILabelComponent>The API data to create this label with
Clears the description for this label.
Clears the id of this component, defaulting to a default incremented id.
Sets a channel select menu component to this label.
A function that returns a component builder or an already built builder
Sets the description for this label.
The description to use
Sets the id (not the custom id) for this component.
The id for this component
Sets the label for this label.
The label to use
Sets a mentionable select menu component to this label.
A function that returns a component builder or an already built builder
Sets a role select menu component to this label.
A function that returns a component builder or an already built builder
Sets a string select menu component to this label.
A function that returns a component builder or an already built builder
Sets a text input component to this label.
A function that returns a component builder or an already built builder
Sets a user select menu component to this label.
A function that returns a component builder or an already built builder
Serializes this builder to API-compatible JSON data.
A builder that creates API-compatible JSON data for labels.