Skip to content

Instantly share code, notes, and snippets.

View alx-xlx's full-sized avatar
🍑
Peach

alx-xlx alx-xlx

🍑
Peach
View GitHub Profile
@alx-xlx
alx-xlx / v9-voice-receive.js
Created June 19, 2019 16:35
Discord.js V9 Voice Recorder
const Discord = require("discord.js");
const fs = require('fs');
const client = new Discord.Client();
const config = require('./auth.json');
// make a new stream for each time someone starts to talk
function generateOutputFile(channel, member) {
// use IDs instead of username cause some people have stupid emojis in their name