diff --git a/main.js b/main.js index f18381e..9c795ac 100644 --- a/main.js +++ b/main.js @@ -58,6 +58,7 @@ bot.on('message', (message) => { message.channel.send(`${message.author}, you now have access to type in the server!`); } else { + fs.appendFileSync("./exclude/removedauthmessages.ratz", `\r\n(${message.author.username} [${message.author.id}], ${message.createdTimestamp}) ${message.content.toString()}`); message.delete(); message.channel.send(`${message.author}, you have not completely read the rules in order to have access to chat. To get access, re-read the rules and type the secret response message specified.`) } diff --git a/package-lock.json b/package-lock.json index 4948fad..367836e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ratzbot", - "version": "2.4.0", + "version": "2.4.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d6f4e13..71304b8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ratzbot", - "version": "2.4.0", + "version": "2.4.1", "description": "Discord bot for Twitch streamer ratzDoll", "main": "main.js", "scripts": {