Send message when compressing

This commit is contained in:
loicbersier 2019-01-19 17:29:45 +01:00
parent 0ab05e5bc2
commit 34b41410fd

View file

@ -57,6 +57,9 @@ class DownloadCommand extends Command {
};
hbjs.spawn(options)
.on('start', function() {
message.channel.send('Vid bigger than 8MB compressing now ( This can take a long time!)');
})
.on('error', err => {
message.channel.send('An error has occured while compressing the video');
console.error(err);