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