This commit is contained in:
Dragon Fire
2020-06-15 15:56:29 -04:00
parent b567297f57
commit 2d7333b819
2 changed files with 1 additions and 1 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 480 KiB

+1 -1
View File
@@ -44,7 +44,7 @@ module.exports = class ThisGuyCommand extends Command {
const canvas = createCanvas(base.width, base.height);
const ctx = canvas.getContext('2d');
ctx.drawImage(base, 0, 0);
const { x, y, width, height } = centerImagePart(data, 722, 722, 152, 123);
const { x, y, width, height } = centerImagePart(data, 361, 361, 76, 62);
ctx.drawImage(data, x, y, width, height);
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'this-guy.png' }] });
} catch (err) {