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

Function disableCountingGame

src/services/countingGameService.js:217–220  ·  view source on GitHub ↗
(client, guildId)

Source from the content-addressed store, hash-verified

215}
216
217export async function disableCountingGame(client, guildId) {
218 const config = await getCountingGameConfig(client, guildId);
219 return saveCountingGameConfig(client, guildId, { ...config, enabled: false });
220}
221
222export async function resetCountingGame(client, guildId, startNumber = 1) {
223 const config = await getCountingGameConfig(client, guildId);

Callers 1

executeFunction · 0.90

Calls 2

getCountingGameConfigFunction · 0.85
saveCountingGameConfigFunction · 0.85

Tested by

no test coverage detected