mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Include chain fetch in game data
This commit is contained in:
@@ -97,6 +97,7 @@ module.exports = class Pokemon {
|
||||
const { body } = await request.get(ability.ability.url);
|
||||
this.abilities.push(body.names.find(name => name.language.name === 'en').name);
|
||||
}
|
||||
await this.fetchChain();
|
||||
this.gameDataCached = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user