class EmbedFooterBuilder

export declare class EmbedFooterBuilder

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

Constructors

constructor()

Creates a new embed footer from API data.

clearIconURL() : this

Clears the icon URL for this embed footer.

setIconURL(
url: string
) : this

Sets the url for this embed footer.

setText(
text: string
) : this

Sets the text for this embed footer.

toJSON(
validationOverride?: boolean
) : APIEmbedFooter

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