From f2520d14d4caaa6c3cbe829e65ec3ef19de21930 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 3 May 2024 01:29:16 -0400 Subject: [PATCH] Fix --- commands/edit-image/wild-pokemon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image/wild-pokemon.js b/commands/edit-image/wild-pokemon.js index 86ea4f5f..39049b51 100644 --- a/commands/edit-image/wild-pokemon.js +++ b/commands/edit-image/wild-pokemon.js @@ -56,10 +56,10 @@ module.exports = class WildPokemonCommand extends Command { const { x, y, width, height } = centerImagePart(data, 100, 100, 227, 11); pixelize(ctx, canvas, data, 0.30, x, y, width, height); greyscale(ctx, x, y, width, height); - ctx.letterSpacing = '5px'; + ctx.letterSpacing = '4px'; ctx.textBaseline = 'top'; ctx.font = this.client.fonts.get('PokemonGb.ttf').toCanvasString(16); - ctx.fillText(name.toUpperCase(), 106, 203, 215); + ctx.fillText(name.toUpperCase(), 106, 205, 215); return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'wild-pokemon.png' }] }); } };