handler.since shouln't subtract anything from time.Now()
This commit is contained in:
parent
cf6a26194f
commit
c3c2491fa8
|
@ -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,
|
||||
|
|
Reference in New Issue