vsoch/pokemon

get_avatar() gets incorrect pokemon.

aeroquil opened this issue · 4 comments

get_avatar() seems to be getting the incorrect pokemon. here were just two examples i noticed.

image

It appears that the entire database has been mixed up, unless I'm misunderstanding.
I assume this was an error made in the .json?
Or am I doing something incorrectly?

Thanks!

vsoch commented

Oh I think it’s just a misunderstanding! The get avatar function returns a Pokémon avatar for you, based on your name (eg vsoch). If you want to catch a named Pokémon use the catch named function.

Ohhh, I'm sorry, thanks for clearing that up!

vsoch commented

No worries! You can use

def get_pokemon(pid=None, name=None, pokemons=None):
or skills.get_ascii.

vsoch commented

That would be lovely! Please share with me when you finish, and I’ll spread the word!