mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 10:42:43 +00:00
Landed follow-up intent from contributor PR #31025 (@theotarr) and PR #30530 (@liuxiaopai-ai). Co-authored-by: theotarr <theotarr@users.noreply.github.com> Co-authored-by: liuxiaopai-ai <liuxiaopai-ai@users.noreply.github.com>
19 lines
438 B
TypeScript
19 lines
438 B
TypeScript
export type DiscordMonitorStatusPatch = {
|
|
connected?: boolean;
|
|
lastEventAt?: number | null;
|
|
lastConnectedAt?: number | null;
|
|
lastDisconnect?:
|
|
| string
|
|
| {
|
|
at: number;
|
|
status?: number;
|
|
error?: string;
|
|
loggedOut?: boolean;
|
|
}
|
|
| null;
|
|
lastInboundAt?: number | null;
|
|
lastError?: string | null;
|
|
};
|
|
|
|
export type DiscordMonitorStatusSink = (patch: DiscordMonitorStatusPatch) => void;
|