From 60ed12f3c05e5e98e9f5f814daf05c2a9859787e Mon Sep 17 00:00:00 2001 From: diamondburned Date: Mon, 31 Oct 2022 04:34:21 -0700 Subject: [PATCH] gateway: Add Ready.SessionID --- gateway/events.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gateway/events.go b/gateway/events.go index 61e4208..6a31ee9 100644 --- a/gateway/events.go +++ b/gateway/events.go @@ -713,7 +713,9 @@ type ( UserGuildSettings []UserGuildSetting `json:"user_guild_settings,omitempty"` Relationships []discord.Relationship `json:"relationships,omitempty"` Presences []discord.Presence `json:"presences,omitempty"` - Sessions []UserSession `json:"sessions,omitempty"` + + Sessions []UserSession `json:"sessions,omitempty"` + SessionID string `json:"session_id,omitempty"` FriendSuggestionCount int `json:"friend_suggestion_count,omitempty"` GeoOrderedRTCRegions []string `json:"geo_ordered_rtc_regions,omitempty"`