Skip to content

Commit

Permalink
added exclusion to restricted/testing accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
GDcheeriosYT committed Oct 31, 2024
1 parent ff984f7 commit f5ea23b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crap/gentrys_quest_crap/GQManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def get_leaderboard(classic: bool, start: int = 0, amount: int = 50) -> list:
rankings.{prefix + 'weighted'}, rankings.{prefix + 'rank'}, rankings.{prefix + 'tier'}
FROM rankings
INNER JOIN accounts ON rankings.id = accounts.id
WHERE accounts.status NOT IN ('restricted', 'test')
ORDER BY {prefix + 'weighted'} desc
LIMIT %s OFFSET %s;
"""
Expand Down

0 comments on commit f5ea23b

Please sign in to comment.