From f22f40e6fea64e1ee2fa48769c97f7ff10b42d83 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 11 Feb 2021 13:53:42 -0500 Subject: [PATCH] Fix --- commands/edit-image/trainer-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/trainer-card.js b/commands/edit-image/trainer-card.js index 2e41bdf7..ce138245 100644 --- a/commands/edit-image/trainer-card.js +++ b/commands/edit-image/trainer-card.js @@ -91,7 +91,7 @@ module.exports = class TrainerCardCommand extends Command { try { const pokemonUsed = []; for (const pkmn of pokemon) { - const id = await this.fetchPokemonID(pkmn.id); + const id = await this.fetchPokemonID(pkmn); pokemonUsed.push(id); } const card = await this.createCard(style, name, character, badgeChoice, pokemonUsed);