DiscordChatExporter can be used to export message history from a Discord channel to a file. It works for both direct message chats and guild chats, supports markdown, message grouping, embeds, attachments, mentions, reactions and other features. It works with both user and bot tokens, supports multiple output formats and allows you to trim messages by dates.
For guides and other info -- check out the wiki.
- Latest release
- Docker image:
docker pull tyrrrz/discordchatexporter
- CI build
- 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
- Stylet
- PropertyChanged.Fody
- MaterialDesignInXamlToolkit
- Newtonsoft.Json
- Scriban
- Ookii.Dialogs
- CliFx
- Failsafe
- Gress
- Onova
- Tyrrrz.Extensions
- Tyrrrz.Settings
If you really like my projects and want to support me, consider donating to me on Patreon or BuyMeACoffee. All donations are optional and are greatly appreciated. 🙏