From cf8fec3f4f2536e2056fa8a88296550519960781 Mon Sep 17 00:00:00 2001 From: Ash Keel Date: Thu, 2 Feb 2023 21:38:55 +0100 Subject: [PATCH] chore:Woops remove debug prints --- loyalty/twitch-bot.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/loyalty/twitch-bot.go b/loyalty/twitch-bot.go index 9bb854d..0d8a2b1 100644 --- a/loyalty/twitch-bot.go +++ b/loyalty/twitch-bot.go @@ -76,8 +76,6 @@ func (m *Manager) SetupTwitch() { // If stream is confirmed offline, don't give points away! isOnline := client.IsLive() - m.logger.Info("isOnline", zap.Bool("isOnline", isOnline)) - if !isOnline { continue } @@ -97,7 +95,6 @@ func (m *Manager) SetupTwitch() { First: "1000", After: cursor, }) - m.logger.Info("res", zap.Any("data", res)) if err != nil { m.logger.Error("could not retrieve list of chatters", zap.Error(err)) 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 pointsToGive := make(map[string]int64) for _, user := range users {