From 0405cd07c4c95c622f9cbbc4acf8c89c40451a48 Mon Sep 17 00:00:00 2001 From: Julia <90114526+juliatilde@users.noreply.github.com> Date: Sun, 5 Sep 2021 20:13:23 +0200 Subject: [PATCH] Fix spelling --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c6f9402..4932b72 100644 --- a/index.js +++ b/index.js @@ -70,7 +70,7 @@ client.on("messageCreate", (msg) => if (!fs.existsSync(downloadDir)) fs.mkdirSync(downloadDir); - var tempFilePath = Path.join(downloadDir, `dl_${Math.floor(Math.random() * 10000).toString().padStart(4, "0")}`); + var tempFilePath = path.join(downloadDir, `dl_${Math.floor(Math.random() * 10000).toString().padStart(4, "0")}`); request.head(file, (err, res, body) => { if (err)