mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Fix
This commit is contained in:
@@ -48,9 +48,9 @@ module.exports = class DannyDevitoCommand extends Command {
|
|||||||
ctx.drawImage(
|
ctx.drawImage(
|
||||||
danny,
|
danny,
|
||||||
face.box.xMin - (face.box.width * 0.2),
|
face.box.xMin - (face.box.width * 0.2),
|
||||||
face.box.yMin - (height / 2.50),
|
face.box.yMin - (height / 2.5),
|
||||||
face.box.width * 1.25,
|
face.box.width * 1.25,
|
||||||
height * 1.25
|
height * 1.35
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'danny-devito.png' }] });
|
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'danny-devito.png' }] });
|
||||||
|
|||||||
Reference in New Issue
Block a user