From 9d270d1cfcf1ff45f962b3f6c72fb80fd44ecd51 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 20 Jan 2021 18:41:09 -0500 Subject: [PATCH] Fix --- commands/pokedex/pokedex-stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/pokedex/pokedex-stats.js b/commands/pokedex/pokedex-stats.js index 6c972b1c..070e2666 100644 --- a/commands/pokedex/pokedex-stats.js +++ b/commands/pokedex/pokedex-stats.js @@ -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 => {