From ea6a57e927189b75d647f252f05efd4ac4d87ffa Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Wed, 8 Sep 2021 13:34:26 +0100 Subject: [PATCH] docs(MessagePayload): Correct return type of `resolveFile()` (#6605) --- src/structures/MessagePayload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/MessagePayload.js b/src/structures/MessagePayload.js index f3e9671c1..c3c9a775e 100644 --- a/src/structures/MessagePayload.js +++ b/src/structures/MessagePayload.js @@ -209,7 +209,7 @@ class MessagePayload { /** * Resolves a single file into an object sendable to the API. * @param {BufferResolvable|Stream|FileOptions|MessageAttachment} fileLike Something that could be resolved to a file - * @returns {MessageFile} + * @returns {Promise} */ static async resolveFile(fileLike) { let attachment;