From a078457ef2dbd301ac81a04543992ef75816d394 Mon Sep 17 00:00:00 2001 From: Braydon Date: Mon, 15 Apr 2024 12:56:45 -0700 Subject: [PATCH] Add sdk/js/server/favicon --- sdk%2Fjs%2Fserver%2Ffavicon.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sdk%2Fjs%2Fserver%2Ffavicon.md diff --git a/sdk%2Fjs%2Fserver%2Ffavicon.md b/sdk%2Fjs%2Fserver%2Ffavicon.md new file mode 100644 index 0000000..37d979d --- /dev/null +++ b/sdk%2Fjs%2Fserver%2Ffavicon.md @@ -0,0 +1,9 @@ +# Server Favicon + +## Example +```ts +import { getJavaServerFavicon } from "restfulmc-lib"; + +const faviconTexture: ArrayBuffer = await getJavaServerFavicon("hypixel.net"); // Fetch the Java server favicon +// Do something with the texture +``` \ No newline at end of file