muesli / beehive

A flexible event/agent & automation system with lots of bees 🐝
GNU Affero General Public License v3.0
6.25k stars 318 forks source link

twitch issue #378

Open timkrief opened 2 years ago

timkrief commented 2 years ago

It could be because what I entered in the form is false, but I'm pretty sure I'm doing things the right way, and since there is no guide for this hive, I have no clue what could be wrong. When I create a bee for twitch, beehive completely crashes.

ERRO[0139] [t]: Failed retrieving user info from Twitch API: <nil> 
panic: runtime error: index out of range [0] with length 0

goroutine 131 [running]:
github.com/muesli/beehive/bees/twitchbee.(*TwitchBee).monitorFollows(0xc0000120f0, 0xc00009ea80)
    /go/beehive/bees/twitchbee/twitchbee.go:138 +0x6cc
created by github.com/muesli/beehive/bees/twitchbee.(*TwitchBee).Run
    /go/beehive/bees/twitchbee/twitchbee.go:277 +0x5bf