From 7762c84cd98770f10101ad3380949ead5b29b44b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 27 May 2020 00:46:17 -0400 Subject: [PATCH] Fix --- commands/edit-image/tweet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/tweet.js b/commands/edit-image/tweet.js index 660e8fa7..8f98c6dd 100644 --- a/commands/edit-image/tweet.js +++ b/commands/edit-image/tweet.js @@ -68,7 +68,7 @@ module.exports = class TweetCommand extends Command { const ctx = canvas.getContext('2d'); ctx.font = '23px Noto'; const lines = await wrapText(ctx, text, 710); - const linesLen = (23 * lines.length) + (15 * (lines.length - 1)); + const linesLen = (23 * lines.length) + (8 * (lines.length - 1)); canvas.height += linesLen; const likes = Math.floor(Math.random() * 999999) + 1; const retweets = Math.floor(Math.random() * 999999) + 1;