From a6e1894ae10aee1fcda98c4046fc2fbd2882bd05 Mon Sep 17 00:00:00 2001 From: Kichiyaki Date: Sat, 16 Jan 2021 22:24:11 +0100 Subject: [PATCH] bot should send notifications about all conquers now --- cron/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cron/handler.go b/cron/handler.go index 10ef599..c728738 100644 --- a/cron/handler.go +++ b/cron/handler.go @@ -46,6 +46,7 @@ func (h *handler) loadEnnoblements(servers []string) (map[string]ennoblements, e lastEnnoblementAt, ok := h.lastEnnoblementAt[server] if !ok { lastEnnoblementAt = time.Now().Add(-1 * time.Minute) + h.lastEnnoblementAt[server] = lastEnnoblementAt } if mode.Get() == mode.DevelopmentMode { lastEnnoblementAt = time.Now().Add(-1 * time.Hour * 2)