(sock, status)
| 556 | } |
| 557 | } |
| 558 | async function handleStatus(sock, status) { |
| 559 | try { |
| 560 | const { default: _autostatus } = await import('../plugins/autostatus.js'); |
| 561 | const handleStatusUpdate = _autostatus.handleStatusUpdate; |
| 562 | await handleStatusUpdate(sock, status); |
| 563 | } |
| 564 | catch (error) { |
| 565 | printLog('error', `Status handler error: ${error.message}`); |
| 566 | console.error(error.stack); |
| 567 | } |
| 568 | } |
| 569 | async function handleCall(sock, calls) { |
| 570 | try { |
| 571 | const anticallPlugin = (await import('../plugins/anticall.js')).default; |
no test coverage detected