Update sdk/js/server/blocked

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

@ -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
```