浏览代码

error strings should not end with punctuation.

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

+ 1 - 1
wsapi.go

@@ -666,7 +666,7 @@ type voiceChannelJoinOp struct {
 func (s *Session) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (err error) {
 
 	if s.wsConn == nil {
-		return fmt.Errorf("no websocket connection exists.")
+		return fmt.Errorf("no websocket connection exists")
 	}
 
 	// Create new voice{} struct if one does not exist.