mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 16:19:12 +02:00
Support new Pokemon in Who's that Pokemon (803-807)
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = class WhosThatPokemonCommand extends Command {
|
||||
}
|
||||
|
||||
async run(msg, { hide }) {
|
||||
const pokemon = Math.floor(Math.random() * 802) + 1;
|
||||
const pokemon = Math.floor(Math.random() * 807) + 1;
|
||||
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