diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-03-08 14:12:03 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-03-08 14:12:03 +0100 |
| commit | 3bcf74c47d1597ba650dc5a55868f83f5f547ad7 (patch) | |
| tree | e092050c003aac0fde195578f0909e9f6fec5dc6 /commands/stats.go | |
| parent | ddd6306752186c149f8ad3bf2f59b5428cf01296 (diff) | |
feat(user): leave gorm
Diffstat (limited to 'commands/stats.go')
| -rw-r--r-- | commands/stats.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/stats.go b/commands/stats.go index 28c0bcc..c9562dc 100644 --- a/commands/stats.go +++ b/commands/stats.go @@ -237,7 +237,7 @@ func generatePlot(ctx context.Context, dg bot.Session, i *interaction.Applicatio cnt := 0 for in, c := range copaings { - m, err := guild.GetMember(i.GuildID, c.DiscordID).Do(ctx) + m, err := guild.GetMember(i.GuildID, c.ID).Do(ctx) if err != nil { bot.Logger(ctx).Error("fetching guild member", "error", err) return nil, err |
