feat(onebot): expose account session uptime

Expose account session uptime in status queries, matching the built-in status reply.

Fixes #486
This commit is contained in:
DrSmoothl committed 2026-09-27 13:41:17 +08:00
1 parent 797a4d754c
commit d610b3c90f
9 files changed
+46 -6

No files matched your search

+2
View File
@@ -126,6 +126,8 @@ bot.when(
## Raw Action
`await bot.getStatus()` 的 `time` 为当前账号服务实例的运行秒数,与 `#sl` 使用相同计时起点;实例重建后重新计时。
高频接口提供 camelCase 方法;其它 SnowLuma action 可以用 `raw` 或 `rawResponse`:
```ts