discord voice command bot 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' });