diff options
Diffstat (limited to 'user/xp.go')
| -rw-r--r-- | user/xp.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |
