declare class EmbedBuilder
Represents a embed in a message (image/video preview, rich embed, etc.)
readonlyAPIEmbed data :
addFieldsfields: RestOrArray<APIEmbedField>) : this (
fields: RestOrArray<APIEmbedField>
Adds fields to the embed (max 25)
setAuthoroptions: EmbedAuthorOptions | null) : this (
options: EmbedAuthorOptions | null
Sets the author of this embed
setColorcolor: number | RGBTuple | null) : this (
color: number | RGBTuple | null
Sets the color of this embed
setFieldsfields: RestOrArray<APIEmbedField>) : this (
fields: RestOrArray<APIEmbedField>
Sets the embed's fields (max 25).
setFooteroptions: EmbedFooterOptions | null) : this (
options: EmbedFooterOptions | null
Sets the footer of this embed
setTimestamptimestamp?: number | Date | null) : this (
timestamp?: number | Date | null
Sets the timestamp of this embed
toJSONAPIEmbed () :
Transforms the embed to a plain object