aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-02-25 16:26:34 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-02-25 16:26:34 +0100
commit443286aabc9d9e433625e0dd99e678754bbc74e5 (patch)
tree1d9011757dcd593cc082fd338732173d3117cf2c /main.go
parentdd5a4c1766ed9cadcd5de982f91f407adbd07f40 (diff)
fix(reducer): double call on startup
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.go b/main.go
index a1bc416..c3410c9 100644
--- a/main.go
+++ b/main.go
@@ -239,7 +239,6 @@ func setupTimers(ctx context.Context, dg *gokord.Session) {
// because logger was never set in this context
ctx = bot.SetLogger(ctx, dg.Logger())
- user.PeriodicReducer(ctx, dg)
stopPeriodicReducer = common.NewTimer(ctx, d, func(ctx context.Context, _ context.CancelFunc) {
user.PeriodicReducer(ctx, dg)