forked from Supositware/Haha-Yes
changed an error message
This commit is contained in:
parent
06205aac95
commit
195465c0d4
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class audio2imageCommand extends Command {
|
||||||
.output(`${os.tmpdir()}/a2i${message.id}.png`)
|
.output(`${os.tmpdir()}/a2i${message.id}.png`)
|
||||||
.on('error', (err, stdout, stderr) => {
|
.on('error', (err, stdout, stderr) => {
|
||||||
console.error(`${err}\n${stdout}\n${stderr}`);
|
console.error(`${err}\n${stdout}\n${stderr}`);
|
||||||
return message.channel.send('Uh oh, an error has occured!');
|
return message.channel.send('Uh oh, an error has occured! The image size is most likely bigger than the content!');
|
||||||
})
|
})
|
||||||
.on('end', () => {
|
.on('end', () => {
|
||||||
console.log('finished');
|
console.log('finished');
|
||||||
|
|
Loading…
Reference in a new issue