Show correct form sprite in pokedex-stats

This commit is contained in:
Dragon Fire
2021-01-18 18:05:09 -05:00
parent 07e66871f8
commit d38a2d76d6
3 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ module.exports = class PokedexCommand extends Command {
const embed = new MessageEmbed()
.setColor(0xED1C24)
.setAuthor(`#${data.displayID} - ${data.name}`, data.boxImageURL, data.serebiiURL)
.setThumbnail(data.spriteImageURL)
.setThumbnail(data.formSpriteImageURL(variety.id))
.addField(` Base Stats (${variety.name || 'Base'} Form)`, stripIndents`
\`HP: [${'█'.repeat(repeat.hp)}${' '.repeat(20 - repeat.hp)}]\` **${variety.stats.hp}**
\`Attack: [${'█'.repeat(repeat.atk)}${' '.repeat(20 - repeat.atk)}]\` **${variety.stats.atk}**