mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 08:12:04 +02:00
Fix
This commit is contained in:
@@ -56,7 +56,7 @@ module.exports = class PokedexCommand extends Command {
|
||||
const showParens = variety.name && typesShown.length > 1;
|
||||
return `${variety.types.join('/')}${showParens ? ` (${variety.name})` : ''}`;
|
||||
}).join('\n'))
|
||||
.addField('❯ Evolution Chain', data.chain.map(pkmn => {
|
||||
.addField('❯ Evolution Chain', data.chain.data.map(pkmn => {
|
||||
if (Array.isArray(pkmn)) {
|
||||
return pkmn.map(pkmn2 => {
|
||||
const found = this.client.pokemon.get(pkmn2);
|
||||
|
||||
Reference in New Issue
Block a user