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

limit leaderboard to active accounts by default #7

Open
usmonster opened this issue Jun 6, 2018 · 1 comment
Open

limit leaderboard to active accounts by default #7

usmonster opened this issue Jun 6, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@usmonster
Copy link
Owner

usmonster commented Jun 6, 2018

Only include users for whom this evaluates to true:

user.deleted === false && user.is_ultra_restricted === false && user.is_bot === false && user.is_app_user === false

If needed, maybe use a heuristic to avoid extra API calls, e.g.: is_inactive = user.real_name === user.display_name

Optionally add a parameter to include them in the leaderboard?

@usmonster usmonster added the enhancement New feature or request label Jun 15, 2018
@usmonster usmonster modified the milestone: 🔜 Mar 15, 2020
@usmonster
Copy link
Owner Author

Should probably be done before #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant