Skip to content

Commit 85b2498

Browse files
docs(Attachment): add MIME types link to contentType (#9824)
* docs(Attachment): add MIME types link to contentType * docs: don't force locale --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 7cdfc6c commit 85b2498

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/discord.js/src/structures/Attachment.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ class Attachment {
7777

7878
if ('content_type' in data) {
7979
/**
80-
* The media type of this attachment
80+
* The media (MIME) type of this attachment
8181
* @type {?string}
82+
* @see {@link https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types}
8283
*/
8384
this.contentType = data.content_type;
8485
} else {

0 commit comments

Comments
 (0)