private void SendVoiceUpdate() { var serverId = VoiceSocket.Server?.Id; if (serverId != null) { GatewaySocket.SendUpdateVoice(serverId, VoiceSocket.Channel?.Id, (Service.Config.Mode | AudioMode.Outgoing) == 0, (Service.Config.Mode | AudioMode.Incoming) == 0); } }
public void SendVoiceUpdate(ulong?serverId, ulong?channelId) { GatewaySocket.SendUpdateVoice(serverId, channelId, (Service.Config.Mode | AudioMode.Outgoing) == 0, (Service.Config.Mode | AudioMode.Incoming) == 0); }