mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
docs: implement #2707 on master
This commit is contained in:
@@ -12,7 +12,11 @@ class MessageEmbed {
|
|||||||
|
|
||||||
setup(data) { // eslint-disable-line complexity
|
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}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
this.type = data.type;
|
this.type = data.type;
|
||||||
@@ -36,7 +40,7 @@ class MessageEmbed {
|
|||||||
this.url = data.url;
|
this.url = data.url;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The color of the embed
|
* The color of this embed
|
||||||
* @type {?number}
|
* @type {?number}
|
||||||
*/
|
*/
|
||||||
this.color = data.color;
|
this.color = data.color;
|
||||||
|
|||||||
Reference in New Issue
Block a user