From 86557619ba85bf24c8935198f73af842d9e160bb Mon Sep 17 00:00:00 2001 From: vim2meta Date: Sun, 19 Nov 2017 10:14:45 -0500 Subject: [PATCH] Update voice.go --- voice.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/voice.go b/voice.go index d68d0e2..3bbf621 100644 --- a/voice.go +++ b/voice.go @@ -68,7 +68,7 @@ type VoiceConnection struct { voiceSpeakingUpdateHandlers []VoiceSpeakingUpdateHandler } -// VoiceSpeakingUpdateHandler type provides a function defination for the +// VoiceSpeakingUpdateHandler type provides a function definition for the // VoiceSpeakingUpdate event type VoiceSpeakingUpdateHandler func(vc *VoiceConnection, vs *VoiceSpeakingUpdate) @@ -246,7 +246,7 @@ type voiceOP2 struct { } // WaitUntilConnected waits for the Voice Connection to -// become ready, if it does not become ready it retuns an err +// become ready, if it does not become ready it returns an err func (v *VoiceConnection) waitUntilConnected() error { v.log(LogInformational, "called") @@ -857,7 +857,7 @@ func (v *VoiceConnection) reconnect() { } if v.session.DataReady == false || v.session.wsConn == nil { - v.log(LogInformational, "cannot reconenct to channel %s with unready session", v.ChannelID) + v.log(LogInformational, "cannot reconnect to channel %s with unready session", v.ChannelID) continue }