MCPcopy Create free account
hub / github.com/Botloader/botloader / getConfig

Function getConfig

cmd/vmbench/scripts/heavy/starboard_2.ts:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42async function getConfig(): Promise<StarboardConfig> {
43 return (await configVar.get())?.value ?? DEFAULT_CONFIG;
44}
45
46script.on("MESSAGE_REACTION_ADD", async (evt) => {
47 const config = await getConfig();

Callers 1

starboard_2.tsFile · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected