mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
docs: implement #2707 on master
This commit is contained in:
parent
47d405e70c
commit
5980d04f2b
1 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue