Skip to content

Commit

Permalink
Merge pull request #172 from disgoorg/update-identify-connection-prop…
Browse files Browse the repository at this point in the history
…erties

update identify connection property field names
  • Loading branch information
topi314 authored Jul 2, 2022
2 parents aa5b38e + 958df62 commit 0d27bc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions discord/gateway_messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ func (GatewayMessageDataIdentify) gatewayMessageData() {}
// IdentifyCommandDataProperties is used for specifying to discord which library and OS the bot is using, is
// automatically handled by the library and should rarely be used.
type IdentifyCommandDataProperties struct {
OS string `json:"$os"` // user OS
Browser string `json:"$browser"` // library name
Device string `json:"$device"` // library name
OS string `json:"os"` // user OS
Browser string `json:"browser"` // library name
Device string `json:"device"` // library name
}

// GatewayMessageDataPresenceUpdate is used for updating Client's presence
Expand Down

0 comments on commit 0d27bc2

Please sign in to comment.