From bee8f2d449251722730a3dc7a431539586ca10ad Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 23 Apr 2020 22:13:30 -0400 Subject: [PATCH] Fix --- commands/edit-image/zero-dialogue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/zero-dialogue.js b/commands/edit-image/zero-dialogue.js index 16d07501..5fbe7072 100644 --- a/commands/edit-image/zero-dialogue.js +++ b/commands/edit-image/zero-dialogue.js @@ -63,7 +63,7 @@ module.exports = class ZeroDialogueCommand extends Command { ctx.fillStyle = 'white'; ctx.textBaseline = 'top'; let text = await wrapText(ctx, quote, 425); - text = text.length > 2 ? `${text.slice(2).join('\n')}...` : text.join('\n'); + text = text.length > 2 ? `${text.slice(0, 2).join('\n')}...` : text.join('\n'); ctx.fillText(text, 8, 8); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'zero-dialogue.png' }] }); }