mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user