diff options
Diffstat (limited to 'build/hypixelCached.js')
-rw-r--r-- | build/hypixelCached.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/hypixelCached.js b/build/hypixelCached.js index c5a027c..50ffc3d 100644 --- a/build/hypixelCached.js +++ b/build/hypixelCached.js @@ -340,3 +340,9 @@ async function fetchProfileName(user, profile) { return profileName; } exports.fetchProfileName = fetchProfileName; +setInterval(() => { + const keys = exports.basicPlayerCache.keys(); + if (keys) + console.log(exports.basicPlayerCache.get(keys[keys.length - 1])); + console.log(exports.basicPlayerCache.getStats()); +}, 60 * 1000); |