aboutsummaryrefslogtreecommitdiff
path: root/src/hypixel.ts
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-05-01 19:04:52 -0500
committerGitHub <noreply@github.com>2021-05-01 19:04:52 -0500
commit4b78c2fbdfcdd9dcc794e4b0c17cfb6d88a1006b (patch)
tree6e8281984bef6d30cd2988fbf80bfcd22c4f668e /src/hypixel.ts
parent644e9c6629453b07844ca83fab7fbe9a3185b4b6 (diff)
downloadskyblock-api-4b78c2fbdfcdd9dcc794e4b0c17cfb6d88a1006b.tar.gz
skyblock-api-4b78c2fbdfcdd9dcc794e4b0c17cfb6d88a1006b.tar.bz2
skyblock-api-4b78c2fbdfcdd9dcc794e4b0c17cfb6d88a1006b.zip
Show minions that haven't been unlocked in response (#20)
* add minions that haven't been unlocked yet to response, and slightly optimize constants * remove most console.logs with console.debugs * mock constants
Diffstat (limited to 'src/hypixel.ts')
-rw-r--r--src/hypixel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts
index 599a7e1..464f3dd 100644
--- a/src/hypixel.ts
+++ b/src/hypixel.ts
@@ -83,7 +83,7 @@ export async function fetchUser({ user, uuid, username }: UserAny, included: Inc
}
if (!uuid) {
// the user doesn't exist.
- if (debug) console.log('error:', user, 'doesnt exist')
+ if (debug) console.debug('error:', user, 'doesnt exist')
return null
}