user_bw = message.content;
fs.writeFile("badwordlog.txt", user_bw, (err) => {
if (err)
console.log(err);
else {
console.log("badwordlog edited !");
}
});
I need to store all the badwords in a file . How to print the next word in the next line? I tried \n
but it was not working.