EmbedBuilder
Index
Constructors
publicconstructor
Properties
publicreadonlydata
Methods
publicaddFields
publicsetAuthor
Sets the author of this embed.
publicsetColor
Sets the color of this embed.
publicsetDescription
Sets the description of this embed.
publicsetFields
Sets the fields for this embed.
publicsetFooter
Sets the footer of this embed.
publicsetImage
Sets the image of this embed.
publicsetThumbnail
Sets the thumbnail of this embed.
publicsetTimestamp
Sets the timestamp of this embed.
publicsetTitle
Sets the title for this embed.
publicsetURL
Sets the URL of this embed.
publicspliceFields
Removes, replaces, or inserts fields for this embed.
publictoJSON
Serializes this builder to API-compatible JSON data.
Appends fields to the embed.
This method accepts either an array of fields or a variable number of field parameters. The maximum amount of fields that can be added is 25.
Using an array:
Using rest parameters (variadic):