Send message when compressing
This commit is contained in:
parent
0ab05e5bc2
commit
34b41410fd
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ class DownloadCommand extends Command {
|
||||||
};
|
};
|
||||||
|
|
||||||
hbjs.spawn(options)
|
hbjs.spawn(options)
|
||||||
|
.on('start', function() {
|
||||||
|
message.channel.send('Vid bigger than 8MB compressing now ( This can take a long time!)');
|
||||||
|
})
|
||||||
.on('error', err => {
|
.on('error', err => {
|
||||||
message.channel.send('An error has occured while compressing the video');
|
message.channel.send('An error has occured while compressing the video');
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
|
Loading…
Reference in a new issue