From 97825222967407c82778d065c3bf7da41c3a5872 Mon Sep 17 00:00:00 2001 From: lilyissillyyy Date: Thu, 18 Sep 2025 15:51:06 -0400 Subject: [PATCH] Should probably test regular too --- commands/edit-image-text/undertale.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image-text/undertale.js b/commands/edit-image-text/undertale.js index e1d78cda..dee03830 100644 --- a/commands/edit-image-text/undertale.js +++ b/commands/edit-image-text/undertale.js @@ -82,7 +82,7 @@ module.exports = class UndertaleCommand extends Command { ctx.drawImage(base, 0, 0); let font = 'DeterminationMono.ttf'; let space = -3; - let y = 30; + let y = 28; switch (character) { case 'sans': font = 'UndertaleSans.ttf'; @@ -119,7 +119,7 @@ module.exports = class UndertaleCommand extends Command { const text = wrapText(ctx, quote, 385); const lines = text.length > 3 ? 3 : text.length; for (let i = 0; i < lines; i++) { - ctx.fillText(text[i], 174, y + (y * i) + (15 * i) + (space * i)); + ctx.fillText(text[i], 174, y + (y * i) + (13 * i) + (space * i)); } return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: `undertale-${character}.png` }] }); }