Hacker News new | ask | show | jobs
by totetsu 1038 days ago
Recent openAI suddenly disabled their beta testers discord, and I couldn't see who or what we had all been discussion anymore. I wondered if there was a way to export chats so server managers couldn't just cut a community off from each other with no record to browse after. There is a bunch of chrome extensions out there to export discord chats but most seem to have some payment gated features. turns out just copying the extension source out of the chrome folder, modifying the "is_pro" like boolean checks in js and loading it back as an unpacked extension is very easy.
1 comments

DiscordChatExporter: https://github.com/Tyrrrz/DiscordChatExporter

It's a standalone program using the API in a nonstandard way but I don't think anyone's been banned for using it yet.

FYI while this will display the various channels, if your account does not have access to the channel, you cannot export its logs. For channels you can collect, you get the author, datetime, message content, links to any attachments, and reaction counts (but not whom made the reactions).

I've been using DCE to do some analysis on student interactions. This was a hurdle we ran into while exporting logs for various class channels.