Fix spelling

This commit is contained in:
Julia 2021-09-05 20:13:23 +02:00 committed by GitHub
parent 2831690855
commit 0405cd07c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ client.on("messageCreate", (msg) =>
if (!fs.existsSync(downloadDir)) if (!fs.existsSync(downloadDir))
fs.mkdirSync(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) => request.head(file, (err, res, body) =>
{ {
if (err) if (err)