only shittifie the vid when there is no error on download

This commit is contained in:
loicbersier 2019-10-12 18:30:17 +02:00
parent d5048134fd
commit c5f2e2d39f

View file

@ -48,8 +48,9 @@ class vidshittifierCommand extends Command {
console.error(err);
loadingmsg.delete();
return message.channel.send('An error has occured, I can\'t download from the link you provided.');
}
} else {
shittifie();
}
});
} else {
return message.channel.send('You need a valid video link!');