(args: string[])
| 516 | await statusMsg.delete({ revoke: true }); |
| 517 | } catch {} |
| 518 | } |
| 519 | if (!sent) console.error("[CheckIn] Failed to send summary report."); |
| 520 | } |
| 521 | |
| 522 | private async runSingleSign(target: SignTarget): Promise<SignResult> { |
| 523 | const client = await getGlobalClient(); |
| 524 | if (!client) return { success: false, error: "客户端未初始化" }; |
| 525 | try { |
| 526 | const sent = await client.sendMessage(target.target, { message: target.command }); |
| 527 | const sentId = Number((sent as any)?.id || 0); |