From 90e464a78fe4567f9c1e6815624a8fbb2e33ff30 Mon Sep 17 00:00:00 2001 From: Braydon Date: Mon, 15 Apr 2024 13:02:17 -0700 Subject: [PATCH] Update sdk/js/server/blocked --- sdk%2Fjs%2Fserver%2Fblocked.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk%2Fjs%2Fserver%2Fblocked.md b/sdk%2Fjs%2Fserver%2Fblocked.md index eeded96..6ab9451 100644 --- a/sdk%2Fjs%2Fserver%2Fblocked.md +++ b/sdk%2Fjs%2Fserver%2Fblocked.md @@ -6,4 +6,10 @@ import { isMojangBlocked } from "restfulmc-lib"; const blocked: boolean = await isMojangBlocked("arkhamnetwork.org"); console.log(`The server is ${blocked ? "" : "not "}blocked`); +``` + +## Output +```bash +$ bun index.ts +The server is blocked ``` \ No newline at end of file