Explorar el Código

error strings should not end with punctuation.

Bruce Marriner hace 9 años
padre
commit
546cd85303
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.