aboutsummaryrefslogtreecommitdiff
path: root/commands/top.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/top.go')
-rw-r--r--commands/top.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/top.go b/commands/top.go
index 867cf26..7b57d8f 100644
--- a/commands/top.go
+++ b/commands/top.go
@@ -26,7 +26,7 @@ func Top(ctx context.Context, dg bot.Session, i *interaction.ApplicationCommand)
}
}
- cfg := config.GetGuildConfig(i.GuildID)
+ cfg := config.GetGuildConfig(ctx, i.GuildID)
if cfg.DaysXPRemains > 30 {
wg.Go(func() {
fn(fmt.Sprintf("Top %d jours", cfg.DaysXPRemains), 10, -1, 0)