aboutsummaryrefslogtreecommitdiff
path: root/src/hypixelCached.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/hypixelCached.ts')
-rw-r--r--src/hypixelCached.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts
index f7b96ef..3896703 100644
--- a/src/hypixelCached.ts
+++ b/src/hypixelCached.ts
@@ -365,4 +365,11 @@ export async function fetchProfileName(user: string, profile: string): Promise<s
profileNameCache.set(`${playerUuid}.${profileUuid}`, profileName)
return profileName
-} \ No newline at end of file
+}
+
+setInterval(() => {
+ const keys = basicPlayerCache.keys()
+ if (keys)
+ console.log(basicPlayerCache.get(keys[keys.length - 1]))
+ console.log(basicPlayerCache.getStats())
+}, 60 * 1000) \ No newline at end of file