mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +00:00
docs(MessageAttachment): redocument name property
This commit is contained in:
parent
53420fa4e7
commit
3f44320bbe
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue