Gateway: add SB_SESSION_CLOSE and SB_SESSION_INVALIDATE events

This commit is contained in:
Rory& committed 2026-03-13 03:45:26 +01:00
1 parent bf778e5133
commit 3fdc6a54aa
3 files changed
+33 -12

No files matched your search

+2 -1
View File
@@ -60,6 +60,7 @@ export interface Event {
event: EVENT;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
data?: any;
reconnect_delay?: number;
origin?: string;
}
@@ -848,4 +849,4 @@ export type EVENT =
| "THREAD_MEMBERS_UPDATE"
| CUSTOMEVENTS;
export type CUSTOMEVENTS = "INVALIDATED" | "RATELIMIT";
export type CUSTOMEVENTS = "INVALIDATED" | "RATELIMIT" | "SB_SESSION_REMOVE" | "SB_SESSION_CLOSE";