From f0712baaf877a1c090b764b8b2aebf66ed5386be Mon Sep 17 00:00:00 2001 From: Killian Date: Fri, 17 Jul 2020 12:03:14 +0200 Subject: [PATCH] Fixed confusedstonk --- package.json | 2 +- src/module/montage/confusedStonk.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 447f42b..2765f29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord-image-generation", - "version": "1.3.2", + "version": "1.3.3", "description": "discord-image-generation is a powerfull module that allow you to generate awesome images.", "main": "src/index.js", "scripts": { diff --git a/src/module/montage/confusedStonk.js b/src/module/montage/confusedStonk.js index d84740b..ba03512 100644 --- a/src/module/montage/confusedStonk.js +++ b/src/module/montage/confusedStonk.js @@ -11,7 +11,7 @@ module.exports = class ConfusedStonk { const ctx = canvas.getContext(`2d`); image1 = await Canvas.loadImage(image1); const background = await Canvas.loadImage(`${__dirname}/../../assets/confusedStonk.png`); - ctx.drawImage(image1, 230, 75, 400, 400); + ctx.drawImage(image1, 190, 70, 400, 400); ctx.drawImage(background, 0, 0, 1994, 1296); return canvas.toBuffer(); }