From e2d41fce70962056d33e7c39b1baf4406a0b39fa Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 3 May 2024 01:28:20 -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 5ff526b9..86ea4f5f 100644 --- a/commands/edit-image/wild-pokemon.js +++ b/commands/edit-image/wild-pokemon.js @@ -56,9 +56,9 @@ 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 = '6px'; + ctx.letterSpacing = '5px'; ctx.textBaseline = 'top'; - ctx.font = this.client.fonts.get('PokemonGb.ttf').toCanvasString(18); + ctx.font = this.client.fonts.get('PokemonGb.ttf').toCanvasString(16); ctx.fillText(name.toUpperCase(), 106, 203, 215); return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'wild-pokemon.png' }] }); }