From 958df62cd99a7b16d7105fb01049036a6a50f11b Mon Sep 17 00:00:00 2001 From: TopiSenpai Date: Sat, 2 Jul 2022 15:39:04 +0200 Subject: [PATCH] update identify connection property field names --- discord/gateway_messages.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/gateway_messages.go b/discord/gateway_messages.go index 5ff5a536..f1ca46d8 100644 --- a/discord/gateway_messages.go +++ b/discord/gateway_messages.go @@ -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