From 546cd85303ac7e81f0adbb5f3c15d7a32ccb1e44 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Wed, 27 Jan 2016 23:38:38 -0600 Subject: [PATCH] error strings should not end with punctuation. --- wsapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsapi.go b/wsapi.go index 8bd1dbc..3cfc3e4 100644 --- a/wsapi.go +++ b/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.