From 3f2d3d739446ffb215328e1cccf3bd0ebe3838d0 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Sun, 17 Sep 2023 11:37:55 +0200 Subject: [PATCH] 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> --- packages/discord.js/src/structures/Attachment.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/discord.js/src/structures/Attachment.js b/packages/discord.js/src/structures/Attachment.js index 2576ff59cdb16..a7d5841f97eb8 100644 --- a/packages/discord.js/src/structures/Attachment.js +++ b/packages/discord.js/src/structures/Attachment.js @@ -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 {