Add MissingNo.

This commit is contained in:
Dragon Fire
2020-03-23 14:27:13 -04:00
parent 57e590d2dd
commit 8c27d55d55
5 changed files with 38 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ module.exports = class WhosThatPokemonCommand extends Command {
}
async run(msg, { difficulty }) {
const pokemon = Math.floor(Math.random() * 807) + 1;
const pokemon = Math.floor(Math.random() * 808);
try {
const data = await this.client.pokemon.fetch(pokemon.toString());
const names = data.names.map(name => name.name.toLowerCase());