Embed Constructor for sending embeds
Parameter Type Default Description [content] Object|String Message data [content.embed] RichEmbed RichEmbed class [file] MessageFile|Array<MessageFile> Message File
Parameter Type Default Description channelID String Channel ID [content] Object|String Message data [content.embed] RichEmbed RichEmbed class [file] MessageFile|Array<MessageFile> Message File
Parameter Type Default Description data Object {} Embed Data from Discord
Property Type Description title? String Embed Title description? String Embed Description url? String Embed URL timestamp? Date Embed Date color? Number Embed Color footer? Object Embed Footer image? Object Embed Image thumbnail? Object Embed Thumbnail author? Object Embed Author fields Array<Field> Embed Fields
Sets the Embed Title
Parameter Type Default Description title String Embed Title Returns
RichEmbed
Sets the Embed Description
Parameter Type Default Description description String Embed Description Returns
RichEmbed
Sets the Embed URL
Parameter Type Default Description url String Embed URL Returns
RichEmbed
Sets the Embed Timestamp
Parameter Type Default Description [timestamp] String|Number|Date new Date() Embed Timestamp Returns
RichEmbed
Sets the Embed Color
Parameter Type Default Description color String|Number Embed Color Returns
RichEmbed
Sets the Embed Footer
Parameter Type Default Description text String Footer Text [iconURL] String Footer Icon Returns
RichEmbed
Sets the Embed Image
Parameter Type Default Description imageURL String Embed Image Returns
RichEmbed
Sets the Embed Thumbnail
Parameter Type Default Description thumbnailURL String Embed Thumbnail Returns
RichEmbed
Sets the Embed Author
Parameter Type Default Description name String Author Name [url] String Author URL [iconURL] String Author Icon Returns
RichEmbed
Adds an Embed Field
Parameter Type Default Description name String Field Name value String Field Value [inline] Boolean false Field Inline Returns
RichEmbed