浏览代码

Update deaf and mute as well

Harmon758 8 年之前
父节点
当前提交
2175a62cad
共有 1 个文件被更改,包括 2 次插入0 次删除
  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
 }