mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 08:22:37 +02:00
Fix
This commit is contained in:
@@ -108,9 +108,9 @@ module.exports = class TrainerCardCommand extends Command {
|
|||||||
.attach('background', style)
|
.attach('background', style)
|
||||||
.attach('character', character)
|
.attach('character', character)
|
||||||
.attach('badges', 8)
|
.attach('badges', 8)
|
||||||
.attach('badgesUsed', badgeChoice)
|
.attach('badgesUsed', badgeChoice.join(','))
|
||||||
.attach('pokemon', pokemon.length)
|
.attach('pokemon', pokemon.length)
|
||||||
.attach('pokemonUsed', pokemon)
|
.attach('pokemonUsed', pokemon.join(','))
|
||||||
.attach('_xfResponseType', 'json');
|
.attach('_xfResponseType', 'json');
|
||||||
return Buffer.from(body.trainerCard, 'base64');
|
return Buffer.from(body.trainerCard, 'base64');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user