Skip to content

Commit

Permalink
remove equip_badge call, iso version does not add eqiup_badge to play…
Browse files Browse the repository at this point in the history
…er data when badge is awarded. so this may have been in their api but it was never fully implemented
  • Loading branch information
duttonw committed Aug 28, 2016
1 parent e58855f commit 2e6bf25
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions pokemongo_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1215,21 +1215,8 @@ def heartbeat(self):
data={'badge': badgename,
'level' : badgelevel }
)

#todo move equip badge into its own task once working
#should work but gives errors :'(s
#response = self.api.equip_badge(badge_type=badge)
response = {'responses': "awaiting further testing on api call to equip_badge"}
self.event_manager.emit(
'badges',
sender=self,
level='info',
formatted='equiped badge: {badge}',
data={'badge': response['responses']}
)
human_behaviour.action_delay(3,10)


try:
self.web_update_queue.put_nowait(True) # do this outside of thread every tick
except Queue.Full:
Expand Down

0 comments on commit 2e6bf25

Please sign in to comment.