diff options
| author | Rapptz <[email protected]> | 2020-01-20 00:10:37 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-01-20 00:10:37 -0500 |
| commit | 4cf02c94614599db35eef73ebd18923c188b5eb6 (patch) | |
| tree | bd6ee07b80709ca87ba8ef1333885333ae1ae281 | |
| parent | Bump copyright year to 2020 (diff) | |
| download | discord.py-4cf02c94614599db35eef73ebd18923c188b5eb6.tar.xz discord.py-4cf02c94614599db35eef73ebd18923c188b5eb6.zip | |
Update attachment documentation for width/height applying to videos too
| -rw-r--r-- | discord/message.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/message.py b/discord/message.py index 1d9886cb..bef70341 100644 --- a/discord/message.py +++ b/discord/message.py @@ -53,9 +53,9 @@ class Attachment: size: :class:`int` The attachment size in bytes. height: Optional[:class:`int`] - The attachment's height, in pixels. Only applicable to images. + The attachment's height, in pixels. Only applicable to images and videos. width: Optional[:class:`int`] - The attachment's width, in pixels. Only applicable to images. + The attachment's width, in pixels. Only applicable to images and videos. filename: :class:`str` The attachment's filename. url: :class:`str` |