In Discord.js v12 the way of receiving audio was like this:
const fs = require('fs');
// Create a ReadableStream of s16le PCM audio
const audio = connection.receiver.createStream(user, { mode: 'pcm' });
audio.pipe(fs.createWriteStream('user_audio'));
Taken from the official documentation.
But there is no such thing in the v13 documentation.
My question now is, how would one do this with Discord.js v13? Both create the stream and store the recorded audio locally.