This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |