aboutsummaryrefslogtreecommitdiff
path: root/commands/stats.go
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-08-31 16:16:36 +0200
committerWilliam Hergès <william@herges.fr>2025-08-31 16:16:36 +0200
commit6ec3cf37300c1faf92c62640d1d5fe2638749c97 (patch)
tree30bdb68ad785344700c29070a56bb82e27e8371b /commands/stats.go
parent1200d0aef43d2ba771f3262e5adf23b8dc8577d0 (diff)
feat(debug): decrease reduce time
Diffstat (limited to 'commands/stats.go')
-rw-r--r--commands/stats.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/stats.go b/commands/stats.go
index 06b10bd..3422e2a 100644
--- a/commands/stats.go
+++ b/commands/stats.go
@@ -158,8 +158,6 @@ func stats(s *discordgo.Session, i *discordgo.InteractionCreate, days uint, exec
t := raw.CreatedAt.Unix() - now
if !gokord.Debug {
t = int64(math.Ceil(float64(t) / (24 * 60 * 60)))
- } else {
- t = int64(math.Ceil(float64(t) / 6))
}
pts[int64(days)-t] = plotter.XY{
X: float64(t),