Bruce Marriner 7 年之前
父节点
当前提交
9e1220d82b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      wsapi.go

+ 1 - 1
wsapi.go

@@ -107,7 +107,7 @@ func (s *Session) Open() error {
 		return err
 	}
 	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
 	}
 	s.log(LogInformational, "Op 10 Hello Packet received from Discord")