Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
42
async
function
getConfig(): Promise<StarboardConfig> {
43
return
(
await
configVar.get())?.value ?? DEFAULT_CONFIG;
44
}
45
46
script.on(
"MESSAGE_REACTION_ADD"
,
async
(evt) => {
47
const
config =
await
getConfig();
Callers
1
starboard_2.ts
File · 0.70
Calls
1
get
Method · 0.45
Tested by
no test coverage detected