This commit is contained in:
parent
03a6536786
commit
89b2460ed4
1 changed files with 1 additions and 1 deletions
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in a new issue