From 0c9253fe75b44b6ae722cf289baa4e37c8d94568 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 3 May 2024 01:00:04 -0400 Subject: [PATCH] Fix --- commands/edit-image/wild-pokemon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/wild-pokemon.js b/commands/edit-image/wild-pokemon.js index 79f24804..8dae60c9 100644 --- a/commands/edit-image/wild-pokemon.js +++ b/commands/edit-image/wild-pokemon.js @@ -56,7 +56,7 @@ 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 = 10; + ctx.letterSpacing = "5px"; ctx.textBaseline = 'top'; ctx.font = this.client.fonts.get('PokemonGb.ttf').toCanvasString(16); ctx.fillText(name.toUpperCase(), 110, 203, 215);