docs: implement #2707 on master

This commit is contained in:
Crawl
2018-08-08 12:48:34 +02:00
parent 47d405e70c
commit 5980d04f2b

View File

@@ -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;