forked from Supositware/Haha-Yes
only shittifie the vid when there is no error on download
This commit is contained in:
parent
d5048134fd
commit
c5f2e2d39f
1 changed files with 2 additions and 1 deletions
|
@ -48,8 +48,9 @@ class vidshittifierCommand extends Command {
|
||||||
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.');
|
||||||
}
|
} else {
|
||||||
shittifie();
|
shittifie();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return message.channel.send('You need a valid video link!');
|
return message.channel.send('You need a valid video link!');
|
||||||
|
|
Loading…
Reference in a new issue