Skip to content

Commit

Permalink
docs(MessagePayload): Correct return type of resolveFile() (#6605)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite authored Sep 8, 2021
1 parent f57791c commit ea6a57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/MessagePayload.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<MessageFile>}
*/
static async resolveFile(fileLike) {
let attachment;
Expand Down

0 comments on commit ea6a57e

Please sign in to comment.