# DiscordChatExporter [![Build](https://img.shields.io/appveyor/ci/Tyrrrz/DiscordChatExporter/master.svg)](https://ci.appveyor.com/project/Tyrrrz/DiscordChatExporter) [![Release](https://img.shields.io/github/release/Tyrrrz/DiscordChatExporter.svg)](https://github.com/Tyrrrz/DiscordChatExporter/releases) [![Downloads](https://img.shields.io/github/downloads/Tyrrrz/DiscordChatExporter/total.svg)](https://github.com/Tyrrrz/DiscordChatExporter/releases) DiscordChatExporter can be used to export message history from a [Discord](https://discordapp.com) channel to a file. It works for both direct message chats and guild chats, supports markdown, message grouping, and attachments. The tool also lets you select from/to dates to limit the exported messages. There are options to configure the output, such as date format, color theme, message grouping limit, etc. ## Screenshots ![](http://www.tyrrrz.me/Projects/DiscordChatExporter/Images/1.png) ![](http://www.tyrrrz.me/Projects/DiscordChatExporter/Images/4.png) ## Download - [Stable releases](https://github.com/Tyrrrz/DiscordChatExporter/releases) - [Continuous integration](https://ci.appveyor.com/project/Tyrrrz/DiscordChatExporter) ## Features - Graphical and command line interfaces - Supports both user tokens and bot tokens - Allows retrieving messages in specified date range - Multiple export formats: HTML (dark/light), TXT and CSV - Renders all message features including: markdown, attachments, embeds, emojis, mentions, etc ## Libraries used - [GalaSoft.MVVMLight](http://www.mvvmlight.net) - [MaterialDesignInXamlToolkit](https://github.com/ButchersBoy/MaterialDesignInXamlToolkit) - [Newtonsoft.Json](http://www.newtonsoft.com/json) - [Scriban](https://github.com/lunet-io/scriban) - [Polly](https://github.com/App-vNext/Polly) - [Onova](https://github.com/Tyrrrz/Onova) - [FluentCommandLineParser](https://github.com/fclp/fluent-command-line-parser) - [Tyrrrz.Extensions](https://github.com/Tyrrrz/Extensions) - [Tyrrrz.WpfExtensions](https://github.com/Tyrrrz/WpfExtensions) - [Tyrrrz.Settings](https://github.com/Tyrrrz/Settings)