diff options
Diffstat (limited to 'commands/top.go')
| -rw-r--r-- | commands/top.go | 2 |
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) |
