(text: string)
| 243 | } |
| 244 | |
| 245 | function split(text: string): string[] { |
| 246 | if (text.length <= 48) { |
| 247 | return [text] |
| 248 | } |
| 249 | |
| 250 | const size = Math.ceil(text.length / 3) |
| 251 | return [text.slice(0, size), text.slice(size, size * 2), text.slice(size * 2)] |
| 252 | } |
| 253 | |
| 254 | function take(state: State, key: "msg" | "part" | "call" | "perm" | "ask", prefix: string): string { |
| 255 | state[key] += 1 |
no outgoing calls
no test coverage detected