|
|
@ -105,7 +105,10 @@ class posterCommand extends Command {
|
|
|
|
console.error(err);
|
|
|
|
console.error(err);
|
|
|
|
return message.channel.send('An error just occured! is it a static image?');
|
|
|
|
return message.channel.send('An error just occured! is it a static image?');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return message.channel.send({files: [output]});
|
|
|
|
return message.channel.send({files: [output]})
|
|
|
|
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
return message.channel.send('The image is too big to fit on discord!');
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (err) {
|
|
|
|
if (err) {
|
|
|
|