From 2b309975eec24b09dab95076c433e9392dc2e3ed Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Tue, 27 Apr 2021 18:05:06 -0500 Subject: Total leaderboards leaderboard (#13) * add leaderboards leaderboard * slightly optimize fetchPlayer to not unnecessarily fetch the same player twice * Compiled TS into JS * fix errors with fetch * fix random bugs that made people disappear from leaderboards * Update hypixelCached.js --- src/database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/database.ts b/src/database.ts index a974f6c..983dcb2 100644 --- a/src/database.ts +++ b/src/database.ts @@ -434,4 +434,4 @@ if (typeof global.it !== 'function') { // cache leaderboard players again every 4 hours setInterval(fetchAllLeaderboards, 4 * 60 * 60 * 1000) }) -} \ No newline at end of file +} -- cgit