Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: faster leaderboards #153

Merged
merged 1 commit into from
Jun 11, 2024
Merged

feat: faster leaderboards #153

merged 1 commit into from
Jun 11, 2024

Conversation

falcao-g
Copy link
Owner

@falcao-g falcao-g commented Jun 11, 2024

What does this PR do?

This PR makes the server leaderboards much faster, but it uses the server members intent, so i need to wait for discord to approve it

Summary of changes

  • we get a list of members in the server and make mongo do the heavy work
  • we also use the list of member to get the name to put in the leaderboard
  • removed the getMember function

@falcao-g
Copy link
Owner Author

they approved already, lol

@falcao-g falcao-g merged commit 2f6eb9e into main Jun 11, 2024
@falcao-g falcao-g deleted the feat/better-leaderboards branch June 11, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant