forked from pothtonswer/discordmuffin
Normalize name capitalization
This commit is contained in:
parent
17e9eae679
commit
d998b1fac2
1 changed files with 1 additions and 1 deletions
2
wsapi.go
2
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue