Update sdk/js/server/blocked
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
|
||||
```
|
Loading…
Reference in New Issue
Block a user