This commit is contained in:
Dragon Fire
2020-04-23 22:13:30 -04:00
parent 30ba34d804
commit bee8f2d449
+1 -1
View File
@@ -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' }] });
}