Browse Source

Update deaf and mute as well

Harmon758 8 năm trước cách đây
mục cha
commit
2175a62cad
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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
 }