From 3f7141c8a6336227c1c92cdf35f1209d9078c291 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 9 Jan 2018 21:42:03 +0000 Subject: [PATCH] Canvas succ --- commands/avatar-edit/the-ultimate-tattoo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/avatar-edit/the-ultimate-tattoo.js b/commands/avatar-edit/the-ultimate-tattoo.js index 1bdb912c..30ab16b9 100644 --- a/commands/avatar-edit/the-ultimate-tattoo.js +++ b/commands/avatar-edit/the-ultimate-tattoo.js @@ -37,7 +37,7 @@ module.exports = class TheUltimateTattooCommand extends Command { const ctx = canvas.getContext('2d'); ctx.drawImage(base, 0, 0); ctx.rotate(-10 * (Math.PI / 180)); - ctx.drawImage(avatar, 184, 687, 300, 300); + ctx.drawImage(avatar, 84, 690, 300, 300); ctx.rotate(10 * (Math.PI / 180)); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'the-ultimate-tattoo.png' }] }); } catch (err) {