aboutsummaryrefslogtreecommitdiff
path: root/src/mojang.ts
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-13 15:03:13 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-13 15:03:13 -0600
commit8d2722bdd81591feef14dd4ccdf99ac9c1309925 (patch)
treee3d4f49ad705b1ef085d0425568f0e4e6b5d610e /src/mojang.ts
parente9bd7f931e071311ff9a3b83673042f8da352554 (diff)
downloadskyblock-api-8d2722bdd81591feef14dd4ccdf99ac9c1309925.tar.gz
skyblock-api-8d2722bdd81591feef14dd4ccdf99ac9c1309925.tar.bz2
skyblock-api-8d2722bdd81591feef14dd4ccdf99ac9c1309925.zip
add optional check to verify all clients are owned by the creator
Diffstat (limited to 'src/mojang.ts')
-rw-r--r--src/mojang.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mojang.ts b/src/mojang.ts
index 746f674..4de7717 100644
--- a/src/mojang.ts
+++ b/src/mojang.ts
@@ -1,3 +1,7 @@
+/**
+ * Fetch the Mojang username API through api.ashcon.app
+ */
+
import fetch from 'node-fetch'
import { Agent } from 'https'