feat(command): better top display for top full time
This commit is contained in:
parent
c6b607f305
commit
36fa50a397
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue