Explorar o código

Normalize name capitalization

Bruce Marriner %!s(int64=9) %!d(string=hai) anos
pai
achega
d998b1fac2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 }