diff options
author | mat-1 <github@matdoes.dev> | 2021-02-21 04:51:39 +0000 |
---|---|---|
committer | mat-1 <github@matdoes.dev> | 2021-02-21 04:51:39 +0000 |
commit | 78198ac4812f6f33f412bdc62216567aa08d8199 (patch) | |
tree | 9cd238e1f74a77bf149d514fbdc2ce3c8f3261f4 /build/hypixel.js | |
parent | d4b71f8dab86e95cd50f808fdbd2155f73e84469 (diff) | |
download | skyblock-api-78198ac4812f6f33f412bdc62216567aa08d8199.tar.gz skyblock-api-78198ac4812f6f33f412bdc62216567aa08d8199.tar.bz2 skyblock-api-78198ac4812f6f33f412bdc62216567aa08d8199.zip |
Compiled TS into JS
Diffstat (limited to 'build/hypixel.js')
-rw-r--r-- | build/hypixel.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/hypixel.js b/build/hypixel.js index ace7540..6e6b8b6 100644 --- a/build/hypixel.js +++ b/build/hypixel.js @@ -28,6 +28,7 @@ const hypixelApi_1 = require("./hypixelApi"); const cached = __importStar(require("./hypixelCached")); const profile_1 = require("./cleaners/skyblock/profile"); const profiles_1 = require("./cleaners/skyblock/profiles"); +const _1 = require("."); // the interval at which the "last_save" parameter updates in the hypixel api, this is 3 minutes exports.saveInterval = 60 * 3 * 1000; // the highest level a minion can be @@ -65,6 +66,8 @@ async function fetchUser({ user, uuid, username }, included = ['player']) { } if (!uuid) { // the user doesn't exist. + if (_1.debug) + console.log('error:', user, 'doesnt exist'); return null; } const includePlayers = included.includes('player'); |