Support More Pokemon

This commit is contained in:
Dragon Fire
2020-11-26 08:40:44 -05:00
parent a22af5768e
commit 4df75d669a
6 changed files with 26 additions and 18 deletions
+7
View File
@@ -4,6 +4,13 @@ const Pokemon = require('./Pokemon');
const missingno = require('../../assets/json/missingno');
module.exports = class PokemonStore extends Collection {
constructor(options) {
super(options);
this.pokemonCount = 897;
this.pokemonCountWithCry = 893;
}
async fetch(query) {
query = this.makeSlug(query);
if (!query) return null;