Update sdk/js/server/blocked

Braydon 2024-04-15 13:02:17 -07:00
parent 8602db72a3
commit 90e464a78f

@ -7,3 +7,9 @@ import { isMojangBlocked } from "restfulmc-lib";
const blocked: boolean = await isMojangBlocked("arkhamnetwork.org"); const blocked: boolean = await isMojangBlocked("arkhamnetwork.org");
console.log(`The server is ${blocked ? "" : "not "}blocked`); console.log(`The server is ${blocked ? "" : "not "}blocked`);
``` ```
## Output
```bash
$ bun index.ts
The server is blocked
```