aboutsummaryrefslogtreecommitdiff
path: root/user/xp.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 /user/xp.go
parent9da4d0379b10da8b33563dcd280aa2a9586aa3fb (diff)
feat(gokord): replace snowflake by uintrefactor/leave-old-gokord
Diffstat (limited to 'user/xp.go')
-rw-r--r--user/xp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/xp.go b/user/xp.go
index d2b7ca6..dad7865 100644
--- a/user/xp.go
+++ b/user/xp.go
@@ -54,7 +54,7 @@ func (cc *CopaingCached) GetXPForDays(d int) uint {
}
// GetBestXP returns n Copaings with the best XP within d days (d <= cfg.DaysXPRemain; d < 0 <=> d = cfg.DaysXPRemain)
-func GetBestXP(ctx context.Context, guildId string, n uint, d int) []CopaingCached {
+func GetBestXP(ctx context.Context, guildId uint64, n uint, d int) []CopaingCached {
ccs := GetState(ctx).Copaings(guildId)
if d > 0 {
for i, cc := range ccs {