From d45a23b110e2f9f50fba7c86ab3b811d257220aa Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 6 Aug 2018 15:26:09 -0400 Subject: [PATCH] Fix --- commands/image-edit/to-be-continued.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/image-edit/to-be-continued.js b/commands/image-edit/to-be-continued.js index 2d2ad30b..2acead7c 100644 --- a/commands/image-edit/to-be-continued.js +++ b/commands/image-edit/to-be-continued.js @@ -39,7 +39,7 @@ module.exports = class ToBeContinuedCommand extends Command { const ratio = base.width / base.height; const width = canvas.width / 2; const height = Math.round(width / ratio); - ctx.drawImage(base, canvas.width - width, canvas.height - height, width, height); + ctx.drawImage(base, 0, canvas.height - height, width, height); const attachment = canvas.toBuffer(); if (Buffer.byteLength(attachment) > 8e+6) return msg.reply('Resulting image was above 8 MB.'); return msg.say({ files: [{ attachment, name: 'to-be-continued.png' }] });