From 33a1ec8c71a8ee574c52ad9a3d4254f08f626563 Mon Sep 17 00:00:00 2001 From: Michael McCarty Date: Mon, 16 Feb 2026 06:33:38 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=87=20fix:=20Remove=20debug=20logging?= =?UTF-8?q?=20and=20add=20contract=20filter=20condition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/events/periodicals.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events/periodicals.go b/src/events/periodicals.go index 4cddd7ce..4155ae3c 100644 --- a/src/events/periodicals.go +++ b/src/events/periodicals.go @@ -116,7 +116,7 @@ func GetPeriodicalsFromAPI(s *discordgo.Session) { e.EndTimestamp = event.GetStartTime() + event.GetDuration() e.StartTime = time.Unix(int64(math.Round(event.GetStartTime())), 0) e.EndTime = e.StartTime.Add(time.Duration(event.GetDuration()) * time.Second) - log.Printf(" start time: %s", e.StartTime) + // log.Printf(" start time: %s", e.StartTime) currentEggIncEvents = append(currentEggIncEvents, e) @@ -273,7 +273,7 @@ func GetPeriodicalsFromAPI(s *discordgo.Session) { if existingContract.ValidUntil != c.ValidUntil { log.Print("New Leggacy contract: ", c.ID) } - } else { + } else if c.ID != "first-contract" { log.Print("New Original contract: ", c.ID) } bottools.GenerateBanner(c.ID, c.EggName, c.Name)