This project has been archived as it runs on a deprecated discord.js version.
A Discord Bot for Saving Chat Logs
After searching around the internet, I couldn't find a way to archive discord conversations so I could clean up our text channels. So, I made one.
FrankBot will read through a Text Channel's history and save the username and message content to a text file.
This command goes through every sent message and saves it to a text file.
To make FrankBot Work you're going to need a few things.
- nodeJS installed on your computer.
- A TextEditor.
- You'll need to register your own discord app and get a token.
- You'll need to invite your bot to your server.
- You'll need to create a file in FrankBot's root folder called config.json and inside this file you'll need to copy paste the code below.
{
"token": "YOUR_TOKEN_GOES_HERE",
"prefix": "!"
}
After that, just run node bot.js in your Terminal.
No known bugs 🙂
Added !help command for easier documentation reference.
- Save Sent Messages, Links, Code
- Save Chat Logs based on Channel Name and Date
- Change Command Input to Switch/Case with Error Handling
- Save Sent Photos
- Save Sent File Names
- Rebuild Archived but Deleted Chat Logs