Exports Discord chat logs to a file
Find a file
Alexey Golub 16ac87d9ce Refactor
2017-07-13 20:34:16 +03:00
DiscordChatExporter Refactor 2017-07-13 20:34:16 +03:00
.gitattributes Add .gitignore and .gitattributes. 2017-07-11 20:29:27 +03:00
.gitignore Add .gitignore and .gitattributes. 2017-07-11 20:29:27 +03:00
DiscordChatExporter.sln Add license and readme 2017-07-12 20:18:00 +03:00
License.txt Add license and readme 2017-07-12 20:18:00 +03:00
Readme.md Add screenshot to readme 2017-07-13 19:41:31 +03:00

DiscordChatExporter

Command line executable that can export Discord channel chat logs to a pretty HTML file.

Screenshots

Features

  • Produced HTML is styled similar to the Discord's light theme
  • Displays user avatars
  • Messages are grouped by author and time
  • Discord's markdown characters are correctly formatted
  • URLs are automatically converted to links
  • Attached images are inlined with a link to the full version
  • Other attached files are rendered as a download link
  • Edited messages are properly marked with the edit 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 -t REkOTVqm9RWOTNOLCdiuMpWd.QiglBz.Lub0E0TZ1xX4ZxCtnwtpBhWt3v1 -c 459360869055190534

Libraries used