aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-09-20 15:39:51 +0200
committerWilliam Hergès <william@herges.fr>2025-09-20 15:39:51 +0200
commita0e93b4e031857e7379e2ab2d7bdae24561f4e5e (patch)
treeabc2a7b2d509552b20bd177520cbe4d8e1663670 /main.go
parent8d6fa726069bd5364ada1521b400bb5eb7865d87 (diff)
feat(stats): better style for the graph
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index e313c17..b2fdf84 100644
--- a/main.go
+++ b/main.go
@@ -11,6 +11,7 @@ import (
"git.anhgelus.world/anhgelus/les-copaings-bot/commands"
"git.anhgelus.world/anhgelus/les-copaings-bot/config"
+ "git.anhgelus.world/anhgelus/les-copaings-bot/exp"
"git.anhgelus.world/anhgelus/les-copaings-bot/user"
"github.com/anhgelus/gokord"
"github.com/anhgelus/gokord/cmd"
@@ -216,7 +217,7 @@ func main() {
AfterInit: func(dg *discordgo.Session) {
d := 24 * time.Hour
if gokord.Debug {
- d = 24 * time.Second
+ d = 3 * exp.DebugFactor * time.Second
}
user.PeriodicReducer(dg)