MCPcopy Create free account
hub / github.com/HeyHeyChicken/No-Clock / sendIconScripts

Function sendIconScripts

index.js:99–106  ·  view source on GitHub ↗

* This function sends the client the list of available icons.

()

Source from the content-addressed store, hash-verified

97 * This function sends the client the list of available icons.
98 */
99function sendIconScripts() {
100 IO_SERVER.emit(
101 "icons",
102 LIBRARIES.FS.readdirSync(
103 LIBRARIES.Path.join(__dirname, "public", "js", "icons")
104 ).filter((file) => file.endsWith(".js"))
105 );
106}
107
108/**
109 * This function returns a random string of characters.

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected