mtfosbot/module/background/opay.go

22 lines
305 B
Go
Raw Normal View History

2018-09-12 10:07:49 +00:00
package background
import (
"git.trj.tw/golang/mtfosbot/model"
)
func checkOpay() {
channels, err := model.GetAllTwitchChannel()
if err != nil {
return
}
for _, v := range channels {
if len(v.OpayID) > 0 && v.Join {
go getOpayData(v)
}
}
}
func getOpayData(ch *model.TwitchChannel) {
}