rename AttachHandlers -> Attach
This commit is contained in:
parent
85432c140a
commit
79feaeff04
|
@ -34,7 +34,7 @@ type handler struct {
|
||||||
|
|
||||||
func AttachHandlers(c *cron.Cron, cfg Config) {
|
func AttachHandlers(c *cron.Cron, cfg Config) {
|
||||||
h := &handler{
|
h := &handler{
|
||||||
since: time.Now().Add(-30 * time.Minute),
|
since: time.Now(),
|
||||||
serverRepo: cfg.ServerRepo,
|
serverRepo: cfg.ServerRepo,
|
||||||
tribeRepo: cfg.TribeRepo,
|
tribeRepo: cfg.TribeRepo,
|
||||||
discord: cfg.Discord,
|
discord: cfg.Discord,
|
||||||
|
|
Reference in New Issue