|
@@ -68,7 +68,7 @@ type VoiceConnection struct {
|
|
|
voiceSpeakingUpdateHandlers []VoiceSpeakingUpdateHandler
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
type VoiceSpeakingUpdateHandler func(vc *VoiceConnection, vs *VoiceSpeakingUpdate)
|
|
|
|
|
@@ -246,7 +246,7 @@ type voiceOP2 struct {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
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
|
|
|
}
|
|
|
|