From 52ae47ccfb80f7292858865a8fa9bf970313032d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 31 May 2020 10:24:12 -0400 Subject: [PATCH] Fix --- commands/edit-meme/scroll-of-truth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-meme/scroll-of-truth.js b/commands/edit-meme/scroll-of-truth.js index 7b497226..3984f15c 100644 --- a/commands/edit-meme/scroll-of-truth.js +++ b/commands/edit-meme/scroll-of-truth.js @@ -58,10 +58,10 @@ module.exports = class ScrollOfTruthCommand extends Command { ctx.font = `${fontSize}px Noto`; } const lines = await wrapText(ctx, text, 226); - const topMost = 724 - (((fontSize * lines.length) / 2) + ((20 * (lines.length - 1)) / 2)); + const topMost = 850 - (((fontSize * lines.length) / 2) + ((20 * (lines.length - 1)) / 2)); for (let i = 0; i < lines.length; i++) { const height = topMost + ((fontSize + 20) * i); - ctx.fillText(lines[i], 240, height); + ctx.fillText(lines[i], 340, height); } return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'scroll-of-truth.png' }] }); }