A builder that creates API-compatible JSON data for the embed author.
Creates a new embed author from API data.
Name | Type | Optional | Description |
---|---|---|---|
data | Partial<APIEmbedAuthor> | Yes | The API data to use |
Clears the icon URL for this embed author.
Clears the URL for this embed author.
Sets the icon URL for this embed author.
Name | Type | Optional | Description |
---|---|---|---|
iconURL | string | No | The icon URL to use |
Sets the name for this embed author.
Name | Type | Optional | Description |
---|---|---|---|
name | string | No | The name to use |
Sets the URL for this embed author.
Name | Type | Optional | Description |
---|---|---|---|
url | string | No | The url to use |
Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.
Name | Type | Optional | Description |
---|---|---|---|
validationOverride | boolean | Yes | Force validation to run/not run regardless of your global preference |