class EmbedAuthorBuilder

external
declare class EmbedAuthorBuilder implements JSONEncodable<APIEmbedAuthor>

A builder that creates API-compatible JSON data for the embed author.

Constructors

constructor()

Creates a new embed author from API data.

external
clearIconURL() : this

Clears the icon URL for this embed author.

external
clearURL() : this

Clears the URL for this embed author.

external
setIconURL(
iconURL: string
) : this

Sets the icon URL for this embed author.

external
setName(
name: string
) : this

Sets the name for this embed author.

external
setURL(
url: string
) : this

Sets the URL for this embed author.

external
toJSON(
validationOverride?: boolean
) : APIEmbedAuthor

Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.