mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-18 01:50:50 +00:00
chore:Woops remove debug prints
This commit is contained in:
parent
b06ed39e6a
commit
cf8fec3f4f
1 changed files with 0 additions and 7 deletions
|
@ -76,8 +76,6 @@ func (m *Manager) SetupTwitch() {
|
||||||
|
|
||||||
// If stream is confirmed offline, don't give points away!
|
// If stream is confirmed offline, don't give points away!
|
||||||
isOnline := client.IsLive()
|
isOnline := client.IsLive()
|
||||||
m.logger.Info("isOnline", zap.Bool("isOnline", isOnline))
|
|
||||||
|
|
||||||
if !isOnline {
|
if !isOnline {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -97,7 +95,6 @@ func (m *Manager) SetupTwitch() {
|
||||||
First: "1000",
|
First: "1000",
|
||||||
After: cursor,
|
After: cursor,
|
||||||
})
|
})
|
||||||
m.logger.Info("res", zap.Any("data", res))
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
m.logger.Error("could not retrieve list of chatters", zap.Error(err))
|
m.logger.Error("could not retrieve list of chatters", zap.Error(err))
|
||||||
return
|
return
|
||||||
|
@ -111,10 +108,6 @@ func (m *Manager) SetupTwitch() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m.logger.Info("awarding points")
|
|
||||||
|
|
||||||
m.logger.Info("eligible users", zap.String("list", strings.Join(users, ",")))
|
|
||||||
|
|
||||||
// Iterate for each user in the list
|
// Iterate for each user in the list
|
||||||
pointsToGive := make(map[string]int64)
|
pointsToGive := make(map[string]int64)
|
||||||
for _, user := range users {
|
for _, user := range users {
|
||||||
|
|
Loading…
Reference in a new issue