Add MessageEmbed and subclasses

This commit is contained in:
Amish Shah
2016-08-29 15:53:51 +01:00
parent f6c95de85d
commit 3541b0a88f
4 changed files with 128 additions and 4 deletions

View File

@@ -5,10 +5,12 @@ class MessageAttachment {
constructor(message, data) {
/**
* The Client that instantiated this Message.
* @type {Client}
*/
this.client = message.client;
/**
* The message this attachment is part of.
* @type {Message}
*/
this.message = message;
this.setup(data);