mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Fix
This commit is contained in:
@@ -98,11 +98,11 @@ module.exports = class WhosThatPokemonCommand extends Command {
|
||||
ctx.font = '60px Pokemon';
|
||||
ctx.textAlign = 'center';
|
||||
ctx.textBaseline = 'bottom';
|
||||
ctx.lineWidth = 5;
|
||||
ctx.lineWidth = 10;
|
||||
ctx.strokeStyle = '#3c5aa6';
|
||||
ctx.strokeText(pokemon.name, 362, 138, 250);
|
||||
ctx.strokeText(pokemon.name, 362, 158, 250);
|
||||
ctx.fillStyle = '#ffcb05';
|
||||
ctx.fillText(pokemon.name, 362, 138, 250);
|
||||
ctx.fillText(pokemon.name, 362, 158, 250);
|
||||
}
|
||||
return { attachment: canvas.toBuffer(), name };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user