mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Support More Pokemon
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user