aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-05-13 22:33:22 +0200
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-05-13 22:33:22 +0200
commit36fa50a397d1ec70031e84a53213be987aae9022 (patch)
tree72243383d60d44c9699f614135340559e4d991eb
parentc6b607f3055971ef73772e7b4901882b296190dd (diff)
feat(command): better top display for top full time
-rw-r--r--commands/top.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/top.go b/commands/top.go
index 0423bab..53ccef9 100644
--- a/commands/top.go
+++ b/commands/top.go
@@ -42,7 +42,7 @@ func Top(s *discordgo.Session, i *discordgo.InteractionCreate) {
cfg := config.GetGuildConfig(i.GuildID)
if cfg.DaysXPRemains > 30 {
wg.Add(1)
- go fn("Top full time", 10, -1, 0)
+ go fn(fmt.Sprintf("Top %d jours", cfg.DaysXPRemains), 10, -1, 0)
}
wg.Add(2)
go fn("Top 30 jours", 5, 30, 1)