Improve Pokedex

This commit is contained in:
Daniel Odendahl Jr
2017-04-16 17:32:16 +00:00
parent 7107a5896c
commit cb831793fa
2 changed files with 254 additions and 255 deletions
+2 -3
View File
@@ -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])