You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/DiscordKit/Gateway/DiscordGateway.swift
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -200,7 +200,7 @@ public class DiscordGateway: ObservableObject {
200
200
varmodifiedGuild= updatedGuild
201
201
202
202
// ``GatewayEvent.guildUpdate`` events are missing data that is only present in the initial ``GatewayEvent.ready`` event, so we need to copy those properties over manually.
Copy file name to clipboardExpand all lines: Sources/DiscordKitCore/Objects/Data/Member.swift
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,4 +20,5 @@ public struct Member: Codable, GatewayData {
20
20
publicletpermissions:String? // Total permissions of the member in the channel, including overwrites, returned when in the interaction object
21
21
publicletcommunication_disabled_until:Date? // When the user's timeout will expire and the user will be able to communicate in the guild again, null or a time in the past if the user is not timed out
22
22
publicletguild_id:Snowflake?
23
+
publicletuser_id:Snowflake? // Only present in merged_members in READY payload!
0 commit comments