(data)
| 230 | } |
| 231 | |
| 232 | export function unwrapReplitData(data) { |
| 233 | if ( |
| 234 | typeof data === "object" && |
| 235 | data !== null && |
| 236 | data.ok !== undefined && |
| 237 | data.value !== undefined |
| 238 | ) { |
| 239 | return unwrapReplitData(data.value); |
| 240 | } |
| 241 | return data; |
| 242 | } |
| 243 | |
| 244 | export const getGuildConfigKey = (guildId) => `guild:${guildId}:config`; |
| 245 | export const getGuildBirthdaysKey = (guildId) => `guild:${guildId}:birthdays`; |
no outgoing calls
no test coverage detected