aboutsummaryrefslogtreecommitdiff
path: root/commands/stats.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-03-08 18:51:05 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-03-08 18:51:05 +0100
commit6e92feaba23a4992e0ec4b529660921a6bcb492a (patch)
tree05024b52d4c8ede041facdc48ac65af5ba0259da /commands/stats.go
parent3bcf74c47d1597ba650dc5a55868f83f5f547ad7 (diff)
feat(config): leave gorm
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