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