aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4588f3b..b019b7c 100644
--- a/main.go
+++ b/main.go
@@ -185,7 +185,7 @@ func afterInit(dg *discordgo.Session) {
// reduce time for debug
d = time.Minute
}
- utils.NewTimer(d, func(stop chan struct{}) {
+ utils.NewTimer(d, func(stop chan<- interface{}) {
xp.PeriodicReducer(dg)
})
}