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