change message

This commit is contained in:
loicbersier 2019-10-27 22:51:38 +01:00
parent 079e21f0c9
commit 8a7b12d00d

View file

@ -45,10 +45,12 @@ class ytpCommand extends Command {
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 { } else {
return message.channel.send('Video sucessfully added to the pool!'); loadingmsg.delete();
return message.reply('Video sucessfully added to the pool!');
} }
}); });
} else { } else {
loadingmsg.delete();
return message.channel.send('You need a valid video link!'); return message.channel.send('You need a valid video link!');
} }
} }