diff --git a/commands/image-edit/illegal.js b/commands/image-edit/illegal.js index cda9c051..33692b4e 100644 --- a/commands/image-edit/illegal.js +++ b/commands/image-edit/illegal.js @@ -50,11 +50,12 @@ module.exports = class IllegalCommand extends Command { ctx.drawImage(base, 0, 0); ctx.rotate(7 * (Math.PI / 180)); ctx.font = '45px Noto'; + ctx.textAlign = 'center'; ctx.fillText(stripIndents` ${shortenText(ctx, text, 215)} ${isOrAre} NOW ILLEGAL. - `, 770, 300); + `, 750, 300); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'illegal.png' }] }); } };