Skip to content

Conversation

@danthe1st
Copy link
Member

The monthly XP leaderboard currently uses the current page number as offset.

However, this does not result in pagination as e.g. page 2 would contain ranks 2-11 instead of ranks 11-20.

This PR fixes this by calculating the offset using the pagesize and current page.

@danthe1st danthe1st added the bug Addresses a bug. label Jan 20, 2024
@danthe1st danthe1st requested a review from a team as a code owner January 20, 2024 19:01
@danthe1st danthe1st added the feature: help-system For issues pertaining to the bot's help channel management functionality. label Jan 20, 2024
@jasonlessenich jasonlessenich merged commit 2400772 into Java-Discord:main Mar 31, 2024
@danthe1st danthe1st deleted the fix-monthly-xp-leaderboard branch March 31, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Addresses a bug. feature: help-system For issues pertaining to the bot's help channel management functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants