EmbedBuilder

export class EmbedBuilder extends BuildersEmbed
export class EmbedBuilder extends BuildersEmbed
Represents an embed builder.
constructor(data?)
Constructs a new instance of the EmbedBuilder class
NameTypeOptionalDescription
dataEmbedData | APIEmbedYesNone
Readonly
length:number
The accumulated length for the embed title, description, fields, footer text, and author name.
Static
from(other):EmbedBuilder
Creates a new embed builder from JSON data
NameTypeOptionalDescription
otherJSONEncodable<APIEmbed> | APIEmbedNoThe other data
setColor(color):this
Sets the color of this embed
NameTypeOptionalDescription
colorColorResolvable | nullNoThe color of the embed