aboutsummaryrefslogtreecommitdiff
path: root/src/hypixelApi.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/hypixelApi.ts')
-rw-r--r--src/hypixelApi.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hypixelApi.ts b/src/hypixelApi.ts
index 5b5e20f..5c4bb2b 100644
--- a/src/hypixelApi.ts
+++ b/src/hypixelApi.ts
@@ -127,7 +127,6 @@ export interface HypixelPlayer {
/** Send an HTTP request to the Hypixel API */
export async function sendApiRequest({ path, key, args }): Promise<HypixelResponse> {
- console.log('sending api request to', path, args)
// Send a raw http request to api.hypixel.net, and return the parsed json
if (key)
@@ -154,7 +153,6 @@ export async function sendApiRequest({ path, key, args }): Promise<HypixelRespon
if (fetchJsonParsed.throttle) {
if (apiKeyUsage[key])
apiKeyUsage[key].remaining = 0
- console.log('throttled :(')
return { throttled: true }
}
return fetchJsonParsed