mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Fix
This commit is contained in:
@@ -147,7 +147,7 @@ module.exports = class PokemonAdvantageCommand extends Command {
|
||||
ctx.fillText(pokemon1.name, 128, 250, 175);
|
||||
ctx.strokeText(pokemon2.name, 348, 250, 175);
|
||||
ctx.fillText(pokemon2.name, 348, 250, 175);
|
||||
return { attachment: canvas.toBuffer(), name };
|
||||
return { attachment: canvas.toBuffer('image/png'), name };
|
||||
}
|
||||
|
||||
calculateAdvantage(pkmn1, pkmn2) {
|
||||
|
||||
Reference in New Issue
Block a user