Ver Fonte

Update deaf and mute as well

Harmon758 há 8 anos atrás
pai
commit
2175a62cad
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      voice.go

+ 2 - 0
voice.go

@@ -116,6 +116,8 @@ func (v *VoiceConnection) ChangeChannel(channelID string, mute, deaf bool) (err
 		return
 	}
 	v.ChannelID = channelID
+	v.deaf = deaf
+	v.mute = mute
 
 	return
 }