record voice chat and save as mp3 discord.js code example
Example: recieve voice channel audio discord.js
const audio = connectionA.receiver.createStream('User ID');
connectionB.play(audio, { type: 'opus' });
const audio = connectionA.receiver.createStream('User ID');
connectionB.play(audio, { type: 'opus' });