This commit is contained in:
Dragon Fire
2020-06-15 20:53:50 -04:00
parent 36e740bbe3
commit 1eace178e7
+1 -1
View File
@@ -134,7 +134,7 @@ module.exports = class UndertaleCommand extends Command {
const text = await wrapText(ctx, quote, 385);
const lines = text.length > 3 ? 3 : text.length;
for (let i = 0; i < lines; i++) {
ctx.fillText(text[i], 174, 22 + (22 * i) + (22 * (i + 1)) + (space * i));
ctx.fillText(text[i], 174, 22 + (22 * i) + (22 * i) + (space * i));
}
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: `undertale-${character}.png` }] });
}