Probably good enough

This commit is contained in:
lilyissillyyy
2025-09-18 15:47:18 -04:00
parent fe42e070ec
commit b4d8521da3
+1 -1
View File
@@ -119,7 +119,7 @@ module.exports = class UndertaleCommand extends Command {
const text = wrapText(ctx, quote, 385); const text = wrapText(ctx, quote, 385);
const lines = text.length > 3 ? 3 : text.length; const lines = text.length > 3 ? 3 : text.length;
for (let i = 0; i < lines; i++) { for (let i = 0; i < lines; i++) {
ctx.fillText(text[i], 174, y + (y * i) + (17 * i) + (space * i)); ctx.fillText(text[i], 174, y + (y * i) + (15 * i) + (space * i));
} }
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: `undertale-${character}.png` }] }); return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: `undertale-${character}.png` }] });
} }