mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Improve docs a bit
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* Represents an attachment in a message
|
||||
* Represents an attachment in a message.
|
||||
*/
|
||||
class MessageAttachment {
|
||||
constructor(message, data) {
|
||||
/**
|
||||
* The Client that instantiated this MessageAttachment.
|
||||
* The client that instantiated this MessageAttachment
|
||||
* @name MessageAttachment#client
|
||||
* @type {Client}
|
||||
* @readonly
|
||||
@@ -12,7 +12,7 @@ class MessageAttachment {
|
||||
Object.defineProperty(this, 'client', { value: message.client });
|
||||
|
||||
/**
|
||||
* The message this attachment is part of.
|
||||
* The message this attachment is part of
|
||||
* @type {Message}
|
||||
*/
|
||||
this.message = message;
|
||||
|
||||
Reference in New Issue
Block a user