feat(command): better top display for top full time

This commit is contained in:
Anhgelus Morhtuuzh 2025-05-13 22:33:22 +02:00
parent c6b607f305
commit 36fa50a397
Signed by: anhgelus
GPG key ID: CAD341EFA92DDDE5

View file

@ -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)