mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 01:53:51 +02:00
Improve Pokedex
This commit is contained in:
@@ -34,11 +34,10 @@ module.exports = class PokedexCommand extends Command {
|
||||
}
|
||||
const pokemon = args.pokemon.toLowerCase();
|
||||
const embed = new RichEmbed()
|
||||
.setTitle('Information')
|
||||
.setAuthor(`#${pokedex.index[pokemon]} ${pokedex.name[pokemon]}`, `http://www.serebii.net/pokedex-sm/icon/${pokedex.index[pokemon]}.png`)
|
||||
.setColor(0xFF0000)
|
||||
.setDescription(pokedex.species[pokemon])
|
||||
.setFooter('Pokédex', 'http://cdn.bulbagarden.net/upload/thumb/3/36/479Rotom-Pokédex.png/250px-479Rotom-Pokédex.png')
|
||||
.setDescription(`pokedex.species[pokemon] Pokémon`)
|
||||
.setFooter('Pokédex - 001-251 Implemented', 'http://cdn.bulbagarden.net/upload/thumb/3/36/479Rotom-Pokédex.png/250px-479Rotom-Pokédex.png')
|
||||
.setThumbnail(`http://www.serebii.net/sunmoon/pokemon/${pokedex.index[pokemon]}.png`)
|
||||
.addField('Entry',
|
||||
pokedex.entry[pokemon])
|
||||
|
||||
Reference in New Issue
Block a user