Professor-Redwood-Team / Professor-Redwood

Pokemon Go Discord Bot
MIT License
34 stars 21 forks source link

bugfix: actually return 3 elements from getBosses #25

Closed awilbur closed 7 years ago

awilbur commented 7 years ago

This fixes a minor bug, where instead of returning 3 bosses that the selected Pokemon counters, 2 were being returned. Array.slice(-3) did the trick. Added a test too.