thestuckster / pokemonBotDown

0 stars 0 forks source link

handleSystemLine assertion will not always be true #4

Open ghost opened 8 years ago

ghost commented 8 years ago

This assertion will not always be true: https://github.com/thestuckster/pokemonBotDown/blob/master/client2/pokemonClient.js#L49

When a user changes their avatar, line will be equal to "Avatar changed to:".

SpenceSellers commented 8 years ago

Well that's horrific. Welcome to Pokemon Showdown API I guess.....

ghost commented 8 years ago

This is the full message I'm seeing

Avatar changed to:
|raw|<img src="//play.pokemonshowdown.com/sprites/trainers/115.png" alt="" width="80" height="80" />

😭