mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-13 05:06:50 +00:00
35 lines
1.3 KiB
Markdown
35 lines
1.3 KiB
Markdown
# DiscordChatExporter
|
|
|
|
Command line executable that can export [Discord](https://discordapp.com) channel chat logs to a pretty HTML file.
|
|
|
|
## Screenshots
|
|
|
|

|
|
|
|
## Features
|
|
|
|
- Produces output styled similar to the Discord's light theme
|
|
- Displays user avatars
|
|
- Groups messages by author and time
|
|
- Handles Discord markdown characters
|
|
- Converts URLs to links
|
|
- Inlines attached images with a link to the full version
|
|
- Inserts download links for other types of attached files
|
|
- Marks edited messages with a timestamp
|
|
|
|
## Usage
|
|
|
|
Executing the application requires an access token and channel ID as parameters.
|
|
|
|
You can get your token by opening the Discord app, pressing `Ctrl+Shift+I`, navigating to `Storage > LocalStorage > discordapp.com` and extracting `token`'s value.
|
|
|
|
You can get the channel ID by enabling `Developer Mode` in `Settings > Appearance` and then right clicking on the channel and clicking on `Copy ID`.
|
|
|
|
- `DiscordChatExporter.exe /token:REkOTVqm9RWOTNOLCdiuMpWd.QiglBz.Lub0E0TZ1xX4ZxCtnwtpBhWt3v1 /channelId:459360869055190534`
|
|
|
|
## Libraries used
|
|
|
|
- [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack)
|
|
- [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)
|
|
- [Tyrrrz.Extensions](https://github.com/Tyrrrz/Extensions)
|