error strings should not end with punctuation.
This commit is contained in:
parent
6bb417af7a
commit
546cd85303
1 changed files with 1 additions and 1 deletions
2
wsapi.go
2
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.
|
||||
|
|
Loading…
Reference in a new issue