Fixed indent

This commit is contained in:
Supositware 2019-04-08 00:34:33 +02:00
parent b18c13cc2c
commit bf934e0268

View file

@ -35,11 +35,11 @@ class DownloadCommand extends Command {
if (link.includes('http') || link.includes('www')) {
if (args.alt) {
console.log('alt download!')
console.log('alt download!');
fs.unlink('./video.mp4', (err) => {
if (err);
});
return youtubedl.exec(args.link, ['-o', `./video.mp4`], {}, function(err, output) {
return youtubedl.exec(args.link, ['-o', './video.mp4'], {}, function(err, output) {
if (err) throw err;
console.log(output.join('\n'));
message.delete();