tyrrrz / discordchatexporter Goto Github PK
View Code? Open in Web Editor NEWExports Discord chat logs to a file
License: MIT License
Exports Discord chat logs to a file
License: MIT License
Love your app! It's easy to use and the result html looks neat. However, I'm using your app to export RP logs. The sentences run pretty long (they often go over one line), but when a line runs longer than the html viewer width, it gets broken pretty awkwardly. Like,
"...Before this, “X” was only a far island that xxxx has never visited, only heard in passi
ng news, a place that’s closer to an abstract concept. But as xxxx listens to xxxx’s wor
ds, the abstract emptiness turns into big farmland,..."
The issue still persist even when the html viewer window is already maximized. I think it would be nice if the broken word could appear in its entirety in the next line instead...
Could you possibly give me a link or show me how to use/access the command line interface?
Reactions are the only big thing I feel missing from the archive. Would love to see it implemented.
(name colors inherited from highest role and option to use server nickname instead of username would be nice additions too but they're minor details)
There is a tutorial? I can't find it?
If somebody deletes or edits their message, will I be able to see the original in the logs after updating the logs?
When I use the CLI version in Windows Server x64, the datefrom value doesn't work and instead download the historical log of the channel. Any ideas or suggestions?
Add an option to locally store files and images instead of hotlinking to cdn.discordapp.com
To maintain support for embedded files with the same name, a local hierarchy version of cdn.discordapp.com should be used.
I've manually constructed some examples of what I could consider the ideal functionality. Click here for a simple chatlog that doesn't use custom emoji or file embeds, and click here for a complex chatlog that does use these features.
Please add option to automatically add dates to the filename when using date ranges.
Btw, LOVE the interface, it makes it so easy!
Currently markdown is parsed and converted using Regex which is prone to a lot of issues, like #18 for example. It would make sense to use a 3rd party library for this, as long as it supports all of Discord's markdown.
I was trying to archive a large Chatlog, the server i was in behaved weirdly sometimes refusing new messages and not showing who is online
as if was being hit by a DDOS attack
Please add a poll time, it will make archiving slower but will make so the server does not crap out
I want to export this file to my modpack website please help
I was wondering if it would be possible to add a new search feature from: user
- which would allow us to filter/limit messages and essentially only export message history from a specific user on a discord server.
Currently it only accepts user tokens, but it would be great if you can make it work with bot tokens as well.
So to make italics in discord you put an asterix at the beginning and end of the sentence, this exports in the log correctly as italics.
But if you want to put a sentence between asterisks, and have it appear as a sentence between asterisks, in discord you type *sentence* and then it will appear as sentence rather than italics. But the exported log will appear as \ and then the sentence in italics.
Would it be possible to account for this?
As titled. Thanks.
Also add the option to use sexagesimal format (HH:MM:SS.MICROSECONDS)
When trying to dump a channel that has been deleted, it crashes.
--- Steps to reproduce ---
Dear Tyrrrz,
the 2.4.1.0 version works like a charm, amazing!
and just a enhancement suggestion expected:
show progress bar(0%->1%->99%->100%) when exporting, bcz currently there's no such kind of indication, to show how much the progress is already, makes it confusing if it got stuck or are going its normal way.
Thanks for the consideration.
E.g. <#307946495934595072>
Just to make things easier with servers with huge numbers of channels. It's still possible to do those manually, just inconvenient, so this isn't super important, but it would be nice.
Look at non-default types here: https://discordapp.com/developers/docs/resources/channel#message-object-message-types
The program freezes and crashes when exporting on default settings.
Hey there,
either I am doing sth. wrong or the export to csv via the CLI is not working 100%. I find no way to make 24h format for date in csv. What dateformat do I have to enter for the --dateformat paraemter to get 24h format?
HH:mm does not work, HH:mm:tt doesnt aswell.
If that helps: I am using powershell.
How do I update a current existing log without re-doing the process again?
Hey Tyrrrz,
I'm wondering if automated backups are apart of the scope for this project? Being able to have it backup every day at a certain time would be great.
This is for deletions that occur in the server, having a history would be very beneficial and the manual backups would catch some deleted messages but no all of them.
Another way i could see this implemented is that it reads messages as they are posted and archives them? This way it would ensure that all messages that are deleted are archived.
I really appreciate this project, there aren't many around
Hi @Tyrrrz
After testing around 20 times(different time range)
the 2.3/2.4 version only support 14-15 days' history message to export, if surpass 14-15 days, then it will crack out(stop working).
i don't know if it's the program's limit or the discordapp.com's limit to cause it.
Can you address this issue?
Thanks.
Simple enough. Add ability to limit the date/time range of logs to get. Allow use of dynamic ranges as well.
/range:12d
12 days (d/h/m = days/hours/minutes)
IF POSSIBLE, also allow these options (not sure what the API allows you to do):
/range:[from date]~[to date]
(if from or to not given, then assume the max, otherwise use date range given)
/range:2017-01-01~
from Jan 1st, 2017 to current
/range:2017-01-01
get logs for only the one day.
/range:2017-01
get logs for that month (sort of like 2017-01-01~2017-01-31)
Would it be possible to implement Oauth2 instead of having to use our token?
https://discordapp.com/developers/docs/topics/oauth2
This would be much more secure and preferred.
Is this a bug/missing feature or is this program not intended for this purpose?
thanks :p
The tool currently doesn't support exporting discord embeds. It seems like this would be a bit of a challenge but doable. an example of something similar is this Embed Visualizer
I don't know how hard it would be to implement, but a way to save entries to multiple text files based on the date would be a nice addition for my use at least.
I do know you could do it manually, but a way to just have it as an option when exporting would be nice.
As a solution/alternative for the issue of not being able to export (or render) extremely large channels, I suggest adding the ability to export to different, more data-driven formats, or just .txt, in which case channels with very large amounts of messages can be 'explored' practically. In the case of a .txt output, an even further enhancement could be to allow customization of the output in a manner such as "{timestamp} - {username}: {message}" or if you only want to see the raw messages on each line "{message}", etc.
because Light Theme is a sin.
Currently, in HTML export, bold + italics text is exported as _<b>text</b>_
. Bold + italics text should be properly exported as <i><b>text</b></i>
.
First off I'd just like to thank you for the program, it's really nice, but I was wondering if it would be possible to have the option for a tighter export window? At the moment you can only limit it by day, would it be possible to add a day and time option?
Currently, mentions get exported to HTML as <@&numbers>
(for roles) and <@!numbers>
(for members). Instead, they should properly display the role/member being mentioned.
https://i.imgur.com/DdMX0Ax.png
Crashed when trying to export a channel, is there a max size/message limit?
Is there an option to run this completely from the command line with a GUI? Something to the effect of DiscordChatExporter.exe --token=<token> --channel=<channel-id> --theme=<theme> --datetime=<format>
. It would be very helpful for automating the process.
I'm essentially trying to run this is as a cron job on a headless server.
Thank you!
Hi,
i get empty message from your tool. Think the problem is because the messages are webhooks. Is there a possibility to get this kind of msg?
Sample.txt
I'd like to be able to change the default file name. Used and the default directory location.
Use case is that I use this to export the chat daily. At the moment I export the chat then manually move the file and rename it to the required file name for the day.
Can you add a way to export with quoting? We are trying to export an audit log channel and it is only exporting the bot name etc like this
Dyno#0 [26-Mar-18 07:24 PM]
Dyno#0 [26-Mar-18 10:13 PM]
Dyno#0 [26-Mar-18 11:25 PM]
In the actual channel there is data between each of those lines that is not being exported.
Thank you.
Example for the Plain Text export setting:
================================================
Guild: The Discourse Disco 2: Meltdown Boogaloo
Category: Channels For Everyone
Channel: new-people-info
Topic: Things people who just joined should know
Messages: 18
================================================
Currently, emoji are exported as their names in HTML export. The actual images should be exported.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.