diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/hypixelApi.js | 1 | ||||
-rw-r--r-- | build/hypixelCached.js | 2 | ||||
-rw-r--r-- | build/mojang.js | 3 |
3 files changed, 1 insertions, 5 deletions
diff --git a/build/hypixelApi.js b/build/hypixelApi.js index d6ad066..df6d426 100644 --- a/build/hypixelApi.js +++ b/build/hypixelApi.js @@ -20,7 +20,6 @@ const httpsAgent = new https_1.Agent({ }); /** This array should only ever contain one item because using multiple hypixel api keys isn't allowed :) */ const apiKeys = (_c = (_b = (_a = process.env) === null || _a === void 0 ? void 0 : _a.hypixel_keys) === null || _b === void 0 ? void 0 : _b.split(' ')) !== null && _c !== void 0 ? _c : []; -console.log(apiKeys); const apiKeyUsage = {}; const baseHypixelAPI = 'https://api.hypixel.net'; /** Choose the best current API key */ diff --git a/build/hypixelCached.js b/build/hypixelCached.js index 8fb93ec..d732f2d 100644 --- a/build/hypixelCached.js +++ b/build/hypixelCached.js @@ -234,7 +234,7 @@ async function fetchBasicProfiles(user) { console.debug('Cache miss: fetchBasicProfiles', user); const player = await fetchPlayer(playerUuid); if (!player) { - console.log('bruh playerUuid', user, playerUuid); + console.log('bruh playerUuid', user); return []; } const profiles = player.profiles; diff --git a/build/mojang.js b/build/mojang.js index 86e44d8..2d2f694 100644 --- a/build/mojang.js +++ b/build/mojang.js @@ -34,7 +34,6 @@ async function profileFromUuid(uuid) { dataString = await fetchResponse.text(); } catch (err) { - console.log('failed reading response text', err); return { uuid: null, username: null }; } let data; @@ -42,11 +41,9 @@ async function profileFromUuid(uuid) { data = JSON.parse(dataString); } catch { - console.log('mojang response:', dataString); // if it errors, just return null return { uuid: null, username: null }; } - console.log('mojang response:', data); return { uuid: data.id, username: data.name |