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