From 7d2c89cf84d131f67d56cc3141c3e2d8fad8b6ef Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Sat, 23 May 2020 22:37:31 -0400 Subject: [PATCH] docs: fix wrong parameter name --- src/structures/MessageMedia.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/MessageMedia.js b/src/structures/MessageMedia.js index 0abb4a9..1381616 100644 --- a/src/structures/MessageMedia.js +++ b/src/structures/MessageMedia.js @@ -33,7 +33,7 @@ class MessageMedia { /** * Creates a MessageMedia instance from a local file path - * @param {string} path + * @param {string} filePath */ static fromFilePath(filePath) { const b64data = fs.readFileSync(filePath, {encoding: 'base64'});