mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
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>
This commit is contained in:
@@ -77,8 +77,9 @@ class Attachment {
|
||||
|
||||
if ('content_type' in data) {
|
||||
/**
|
||||
* The media type of this attachment
|
||||
* The media (MIME) type of this attachment
|
||||
* @type {?string}
|
||||
* @see {@link https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types}
|
||||
*/
|
||||
this.contentType = data.content_type;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user