This commit is contained in:
loicbersier 2019-10-28 14:34:59 +01:00
parent 03a6536786
commit 89b2460ed4

View file

@ -67,7 +67,7 @@ class ytpCommand extends Command {
if (err) { if (err) {
console.error(err); console.error(err);
loadingmsg.delete(); loadingmsg.delete();
return message.channel.send('An error has occured, I can\'t download from the link you provided.'); return message.channel.send('An error has occured, I can\'t download from the link you provided. Is it an mp4?');
} else { } else {
let mp4 = []; let mp4 = [];
fs.readdirSync('./asset/ytp/userVid/').forEach(file => { fs.readdirSync('./asset/ytp/userVid/').forEach(file => {