This commit is contained in:
Dragon Fire
2020-03-25 21:33:20 -04:00
parent 8522cea39b
commit 7943e69b19
+1 -1
View File
@@ -62,7 +62,7 @@ module.exports = class PokedexCommand extends Command {
return pkmn.map(pkmn2 => { return pkmn.map(pkmn2 => {
const found = this.client.pokemon.get(pkmn2); const found = this.client.pokemon.get(pkmn2);
if (found.id === data.id) return `**${found.name}**`; if (found.id === data.id) return `**${found.name}**`;
return found.name return found.name;
}).join('/'); }).join('/');
} }
const found = this.client.pokemon.get(pkmn); const found = this.client.pokemon.get(pkmn);