This commit is contained in:
SileNce5k 2025-06-21 15:35:26 +02:00
parent a6060cdbfb
commit e68bb41960
Signed by: SileNce
GPG key ID: B0A142BB4291B204

View file

@ -39,7 +39,7 @@ module.exports = {
const originalMessage = await message.channel.send("Downloading video...")
if(this.executeCommand("yt-dlp", [url, "-P", downloadsDir, "--cookies", cookieFilepath]).error){
originalMessage.edit("An error occured when downloading the video.");
originalMessage.edit("An error occurred when downloading the video.");
this.cleanUp(downloadsDir);
return;
}