docs(MessageEmbed): deprecation advisory for type (#5774)

Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com>
Co-authored-by: Noel <icrawltogo@gmail.com>
This commit is contained in:
Tyler Resch
2021-06-10 19:35:35 +01:00
committed by GitHub
co-authored by DTrombett Noel
parent 097c7b9cdd
commit f5f3f77286
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -45,6 +45,7 @@ class MessageEmbed {
* * `article` - an article embed
* * `link` - a link embed
* @type {string}
* @deprecated
*/
this.type = data.type || 'rich';
+1
View File
@@ -1375,6 +1375,7 @@ declare module 'discord.js' {
public thumbnail: MessageEmbedThumbnail | null;
public timestamp: number | null;
public title: string | null;
/** @deprecated */
public type: string;
public url: string | null;
public readonly video: MessageEmbedVideo | null;