浏览代码

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
 }