From cbd9c04476a37a9b8eb07b2e0dc2e35039b59f00 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 11 Feb 2021 13:56:28 -0500 Subject: [PATCH] Fix --- commands/edit-image/trainer-card.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image/trainer-card.js b/commands/edit-image/trainer-card.js index ce138245..0a98f1e3 100644 --- a/commands/edit-image/trainer-card.js +++ b/commands/edit-image/trainer-card.js @@ -108,9 +108,9 @@ module.exports = class TrainerCardCommand extends Command { .attach('background', style) .attach('character', character) .attach('badges', 8) - .attach('badgesUsed', badgeChoice) + .attach('badgesUsed', badgeChoice.join(',')) .attach('pokemon', pokemon.length) - .attach('pokemonUsed', pokemon) + .attach('pokemonUsed', pokemon.join(',')) .attach('_xfResponseType', 'json'); return Buffer.from(body.trainerCard, 'base64'); }