Tried making a simple echoing to echo back my voice in discord. Basically is looks like it does below.
and it doesn't ever write to line or echo anything back to me even tho he is already in the voice channel. Any help would be great!
client.ConnectToVoiceChannel(client.GetChannelByName("Other"));
client.AudioPacketReceived += (sender, e) =>
{
Console.WriteLine("Audio Packet Recieved");
DiscordAudioPacket audio = new DiscordAudioPacket(e.OpusAudio);
client.EchoPacket(audio);
};
Tried making a simple echoing to echo back my voice in discord. Basically is looks like it does below.
and it doesn't ever write to line or echo anything back to me even tho he is already in the voice channel. Any help would be great!
client.ConnectToVoiceChannel(client.GetChannelByName("Other"));
client.AudioPacketReceived += (sender, e) =>
{
Console.WriteLine("Audio Packet Recieved");
DiscordAudioPacket audio = new DiscordAudioPacket(e.OpusAudio);
client.EchoPacket(audio);
};