Lint :)
This commit is contained in:
parent
d45cbf73f0
commit
9e1220d82b
1 changed files with 1 additions and 1 deletions
2
wsapi.go
2
wsapi.go
|
@ -107,7 +107,7 @@ func (s *Session) Open() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if e.Operation != 10 {
|
if e.Operation != 10 {
|
||||||
err = fmt.Errorf("Expecting Op 10, got Op %d instead.", e.Operation)
|
err = fmt.Errorf("expecting Op 10, got Op %d instead", e.Operation)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
s.log(LogInformational, "Op 10 Hello Packet received from Discord")
|
s.log(LogInformational, "Op 10 Hello Packet received from Discord")
|
||||||
|
|
Loading…
Reference in a new issue