Skip to content

Commit

Permalink
docs(MessageEmbed): document the constructor (#4077)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC authored Apr 16, 2020
1 parent 4c2308b commit 4625881
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/structures/MessageEmbed.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ const Util = require('../util/Util');
* Represents an embed in a message (image/video preview, rich embed, etc.)
*/
class MessageEmbed {
/**
* @name MessageEmbed
* @kind constructor
* @memberof MessageEmbed
* @param {MessageEmbed|Object} [data={}] MessageEmbed to clone or raw embed data
*/

constructor(data = {}, skipValidation = false) {
this.setup(data, skipValidation);
}
Expand Down

0 comments on commit 4625881

Please sign in to comment.