Open uberswe opened 4 years ago
Some better logging
2020/03/17 18:12:13 New message detected: [theophena] uberswe is now hosting you.
2020/03/17 18:12:13 {{ jtv map[]} :jtv!jtv@jtv.tmi.twitch.tv PRIVMSG theophena :uberswe is now hosting you. 1 PRIVMSG map[] uberswe is now hosting you. theophena 0001-01-01 00:00:00 +0000 UTC [] 0 false}
This happens in
client.OnPrivateMessage(func(message twitch.PrivateMessage) {
log.Println(fmt.Sprintf("New message detected: [%s] %s", message.Channel, message.Message))
log.Printf("%v\n", message)
})
But only for the user, the bot does not see this message
Maybe we don't want to detect this. Twitch might filter this out on purpose so we don't show notifications for 0 viewer hosts/raids. Further testing with the bots are needed
Ok, it kinda worked today. I saw this message but I need better logging
More specifically the second to last message there