This example shows how you can use the voice receive functionality in @discordjs/voice to record users in voice channels and save the audio to local Ogg files.
# Clone the examples repository, copy the `recorder` files in a folder and then run:
$ npm install
$ npm run build
# Set a bot token (see config.example.json)
$ cp config.example.json config.json
$ nano config.json
# Start the bot!
$ npm start