mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Add MessageEmbed and subclasses
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user