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 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