From c3c2491fa8090a06672a521b6be8faa17f7977c4 Mon Sep 17 00:00:00 2001 From: Kichiyaki Date: Sun, 7 Jun 2020 17:57:27 +0200 Subject: [PATCH] handler.since shouln't subtract anything from time.Now() --- cron/cron.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/cron.go b/cron/cron.go index db7b520..b808b36 100644 --- a/cron/cron.go +++ b/cron/cron.go @@ -21,7 +21,7 @@ type Config struct { func Attach(c *cron.Cron, cfg Config) { h := &handler{ - since: time.Now().Add(-45 * time.Minute), + since: time.Now(), serverRepo: cfg.ServerRepo, tribeRepo: cfg.TribeRepo, discord: cfg.Discord,