mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 15:57:42 +02:00
Add MissingNo.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user