handler.since shouln't subtract anything from time.Now()

This commit is contained in:
Dawid Wysokiński 2020-06-07 17:57:27 +02:00 committed by Kichiyaki
parent cf6a26194f
commit c3c2491fa8
1 changed files with 1 additions and 1 deletions

View File

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