mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(MessagePayload): Correct return type of resolveFile() (#6605)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user