diff --git a/crap/gentrys_quest_crap/GQManager.py b/crap/gentrys_quest_crap/GQManager.py index 2cab017..e67551b 100644 --- a/crap/gentrys_quest_crap/GQManager.py +++ b/crap/gentrys_quest_crap/GQManager.py @@ -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; """