mirror of
https://github.com/danbulant/discord.js
synced 2026-06-06 00:02:52 +00:00
docs: add video to MessageAttachment properties (#2608)
This commit is contained in:
parent
c5fea45f30
commit
791f58e130
1 changed files with 2 additions and 2 deletions
|
|
@ -99,13 +99,13 @@ class MessageAttachment {
|
||||||
this.proxyURL = data.proxy_url;
|
this.proxyURL = data.proxy_url;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The height of this attachment (if an image)
|
* The height of this attachment (if an image or video)
|
||||||
* @type {?number}
|
* @type {?number}
|
||||||
*/
|
*/
|
||||||
this.height = data.height;
|
this.height = data.height;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The width of this attachment (if an image)
|
* The width of this attachment (if an image or video)
|
||||||
* @type {?number}
|
* @type {?number}
|
||||||
*/
|
*/
|
||||||
this.width = data.width;
|
this.width = data.width;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue