mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -65,7 +65,7 @@ module.exports = class PokedexCommand extends Command {
|
||||
const data = await this.client.pokemon.fetch(pokemon);
|
||||
if (!data) return msg.say('Could not find any results.');
|
||||
if (!data.gameDataCached) await data.fetchGameData();
|
||||
const fetchGames = genGames.slice(data.missingno ? 0 : data.generation, data.missingno ? 1 : genGames.length);
|
||||
const fetchGames = genGames.slice(data.generation, data.missingno ? 1 : genGames.length);
|
||||
if (!data.missingno) await data.fetchSmogonTiers(...fetchGames);
|
||||
const displayForms = data.varieties.filter(vrity => vrity.statsDiffer);
|
||||
const variety = displayForms.find(vrity => {
|
||||
|
||||
Reference in New Issue
Block a user