aboutsummaryrefslogtreecommitdiff
path: root/commands/stats.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-03-07 13:20:56 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-03-07 13:29:46 +0100
commit89b23632f5ceeebd82132210c1407dc9514a547b (patch)
tree647782dc5f1b1148893c10bc8b3e712b6ea8362b /commands/stats.go
parent9da4d0379b10da8b33563dcd280aa2a9586aa3fb (diff)
feat(gokord): replace snowflake by uintrefactor/leave-old-gokord
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 2cc0b3e..15f258b 100644
--- a/commands/stats.go
+++ b/commands/stats.go
@@ -118,7 +118,7 @@ func statsAll(ctx context.Context, dg bot.Session, i *interaction.ApplicationCom
})
}
-func statsMember(ctx context.Context, dg bot.Session, i *interaction.ApplicationCommand, days int, discordID string) (io.WriterTo, error) {
+func statsMember(ctx context.Context, dg bot.Session, i *interaction.ApplicationCommand, days int, discordID uint64) (io.WriterTo, error) {
_, err := guild.GetMember(i.GuildID, discordID).Do(ctx)
if err != nil {
return nil, err