mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 11:21:16 +02:00
Make charcoal look better
This commit is contained in:
@@ -36,7 +36,7 @@ module.exports = class CharcoalCommand extends Command {
|
||||
try {
|
||||
const { body } = await request.get(image);
|
||||
const magik = gm(body);
|
||||
magik.charcoal(5);
|
||||
magik.charcoal(1);
|
||||
magik.setFormat('png');
|
||||
const attachment = await this.toBuffer(magik);
|
||||
if (Buffer.byteLength(attachment) > 8e+6) return msg.reply('Resulting image was above 8 MB.');
|
||||
|
||||
Reference in New Issue
Block a user