MCPcopy Index your code
hub / github.com/codebymitch/TitanBot / saveCountingGameConfig

Function saveCountingGameConfig

src/services/countingGameService.js:211–215  ·  view source on GitHub ↗
(client, guildId, state)

Source from the content-addressed store, hash-verified

209}
210
211export async function saveCountingGameConfig(client, guildId, state) {
212 const normalized = normalizeCountingGame(state);
213 await client.db.set(getStorageKey(guildId), normalized);
214 return normalized;
215}
216
217export async function disableCountingGame(client, guildId) {
218 const config = await getCountingGameConfig(client, guildId);

Callers 5

handleCountingGameFunction · 0.90
disableCountingGameFunction · 0.85
resetCountingGameFunction · 0.85
recordCorrectCountFunction · 0.85
activateCountingGameFunction · 0.85

Calls 3

normalizeCountingGameFunction · 0.85
getStorageKeyFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected