This commit is contained in:
Dragon Fire
2021-02-11 13:53:42 -05:00
parent eb52d56bd5
commit f22f40e6fe
+1 -1
View File
@@ -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);