aboutsummaryrefslogtreecommitdiff
path: root/commands/stats.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/stats.go')
-rw-r--r--commands/stats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/stats.go b/commands/stats.go
index c9562dc..9277ad7 100644
--- a/commands/stats.go
+++ b/commands/stats.go
@@ -51,7 +51,7 @@ var colors = []color.RGBA{
}
func Stats(ctx context.Context, dg bot.Session, i *interaction.ApplicationCommand) {
- cfg := config.GetGuildConfig(ctx, i.GuildID)
+ cfg := config.GetGuild(ctx, i.GuildID)
days := 15
if common.IsDebug(ctx) {
days = 90