bot should send notifications about all conquers now

This commit is contained in:
Dawid Wysokiński 2021-01-16 22:24:11 +01:00
parent 3a7c8ff1ae
commit a6e1894ae1
1 changed files with 1 additions and 0 deletions

View File

@ -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)