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.

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.