mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs: implement #2707 on master
This commit is contained in:
@@ -12,7 +12,11 @@ class MessageEmbed {
|
||||
|
||||
setup(data) { // eslint-disable-line complexity
|
||||
/**
|
||||
* The type of this embed
|
||||
* The type of this embed, either:
|
||||
* * `image` - an image embed
|
||||
* * `video` - a video embed
|
||||
* * `link` - a link embed
|
||||
* * `rich` - a rich embed
|
||||
* @type {string}
|
||||
*/
|
||||
this.type = data.type;
|
||||
@@ -36,7 +40,7 @@ class MessageEmbed {
|
||||
this.url = data.url;
|
||||
|
||||
/**
|
||||
* The color of the embed
|
||||
* The color of this embed
|
||||
* @type {?number}
|
||||
*/
|
||||
this.color = data.color;
|
||||
|
||||
Reference in New Issue
Block a user