From 523b0175093eb43e2c68c12294f728dc5d594574 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 22 May 2020 10:49:36 -0400 Subject: [PATCH] Fix --- commands/edit-image/chinese-restaurant.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/commands/edit-image/chinese-restaurant.js b/commands/edit-image/chinese-restaurant.js index 67217bac..2bf119a3 100644 --- a/commands/edit-image/chinese-restaurant.js +++ b/commands/edit-image/chinese-restaurant.js @@ -58,16 +58,16 @@ module.exports = class ChineseRestaurantCommand extends Command { ctx.fillText(lines[0], base.width / 2, 288); } else if (lines.length === 2) { ctx.fillText(lines[0], base.width / 2, 288); - ctx.fillText(lines[1], base.width / 2, 317); + ctx.fillText(lines[1], base.width / 2, 315); } else if (lines.length === 3) { - ctx.fillText(lines[0], base.width / 2, 263); + ctx.fillText(lines[0], base.width / 2, 261); ctx.fillText(lines[1], base.width / 2, 288); - ctx.fillText(lines[2], base.width / 2, 317); + ctx.fillText(lines[2], base.width / 2, 315); } else { - ctx.fillText(lines[0], base.width / 2, 263); + ctx.fillText(lines[0], base.width / 2, 261); ctx.fillText(lines[1], base.width / 2, 288); - ctx.fillText(lines[2], base.width / 2, 317); - ctx.fillText(lines[4], base.width / 2, 344); + ctx.fillText(lines[2], base.width / 2, 315); + ctx.fillText(lines[4], base.width / 2, 342); } return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'chinese-restaurant.png' }] }); }