mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = class MagikCommand extends Command {
|
||||
async run(msg, { image }) {
|
||||
try {
|
||||
const { body } = await request.get(image);
|
||||
const magik = gm(body);
|
||||
const magik = gm(body, 'magik.png');
|
||||
magik.out('-liquid-rescale 75%x75%');
|
||||
magik.implode(0.25);
|
||||
const attachment = await this.toBuffer(magik);
|
||||
|
||||
Reference in New Issue
Block a user