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
@@ -25,6 +25,8 @@ export interface LoginInfo {
export interface StatusInfo {
online: boolean;
good: boolean;
/** Current account-session uptime in seconds, matching #sl. */
time: number;
}
export interface VersionInfo {