From 51935e00456fe8ff5ad1da14c512e9ee89305d03 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 3 May 2024 01:27:41 -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 7027232a..5ff526b9 100644 --- a/commands/edit-image/wild-pokemon.js +++ b/commands/edit-image/wild-pokemon.js @@ -35,7 +35,7 @@ module.exports = class WildPokemonCommand extends Command { { key: 'name', type: 'string', - max: 13 + max: 9 }, { key: 'image', @@ -59,7 +59,7 @@ module.exports = class WildPokemonCommand extends Command { ctx.letterSpacing = '6px'; ctx.textBaseline = 'top'; ctx.font = this.client.fonts.get('PokemonGb.ttf').toCanvasString(18); - ctx.fillText(name.toUpperCase(), 110, 203, 215); + ctx.fillText(name.toUpperCase(), 106, 203, 215); return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'wild-pokemon.png' }] }); } };