Fix spelling
This commit is contained in:
parent
2831690855
commit
0405cd07c4
1 changed files with 1 additions and 1 deletions
2
index.js
2
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)
|
||||
|
|
Reference in a new issue