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.
https://github.com/Tyrrrz/DiscordChatExporter
But beware -- it can result in account termination!
https://support.discord.com/hc/en-us/articles/115002192352-A...
Always scared to earn a ToS ban using something like this though.
Ironically (and I am not defending them), Slack[0] is the only one of the three that has an official way to export all messages. GitHub does not, unless you're counting their API, but then maybe you want to consider Discord things like this[1]?
[0] https://slack.com/help/articles/201658943-Export-your-worksp...
... which is exactly what I've been doing too: https://github.com/Tyrrrz/DiscordChatExporter
Do you happen to know: Is there a risk of Discord banning me for using that tool to automatically export chat logs for processing via a bash script?
Basically, it's a tool to convert discord servers into json.
Their official wiki gives instructions for using your personal user token rather than any bot / API token: https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining...
I admit, I used my personal token without giving it a second thought, even though I should've known better. I haven't been banned, but this story reminded me that I should be careful. Am I being overly paranoid? Is it fine to use your personal token in situations like this, where it's basically a CLI tool?
Also, I run a discord server for ML with ~1k users. If I get banned by Discord, will server ownership transfer to someone else? Or will the whole server get knocked offline too?
Feel free to ignore this if you want -- I'm merely asking in case you happened to know. Happy thanksgiving!