Преглед изворни кода

Normalize name capitalization

Bruce Marriner пре 9 година
родитељ
комит
d998b1fac2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      wsapi.go

+ 1 - 1
wsapi.go

@@ -54,7 +54,7 @@ type handshakeOp struct {
 func (s *Session) Handshake() (err error) {
 	// maybe this is SendOrigin? not sure the right name here
 
-	data := handshakeOp{2, handshakeData{3, s.Token, handshakeProperties{runtime.GOOS, "DiscordGo v" + VERSION, "", "", ""}}}
+	data := handshakeOp{2, handshakeData{3, s.Token, handshakeProperties{runtime.GOOS, "Discordgo v" + VERSION, "", "", ""}}}
 	err = s.wsConn.WriteJSON(data)
 	return
 }