mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
docs(MessageAttachment): redocument name property
This commit is contained in:
@@ -11,6 +11,10 @@ class MessageAttachment {
|
|||||||
*/
|
*/
|
||||||
constructor(attachment, name = null, data) {
|
constructor(attachment, name = null, data) {
|
||||||
this.attachment = attachment;
|
this.attachment = attachment;
|
||||||
|
/**
|
||||||
|
* The name of this attachment
|
||||||
|
* @type {?string}
|
||||||
|
*/
|
||||||
this.name = name;
|
this.name = name;
|
||||||
if (data) this._patch(data);
|
if (data) this._patch(data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user