mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-15 03:12:31 +00:00
2.23 and 2.24 features. Still needs new screenshots.
@@ -7,7 +7,7 @@ For other things you can do with DCE, check out the [Guides](https://github.com/
|
||||
|
||||
If you still have unanswered questions after reading this page or if you have encountered a problem, please visit our [FAQ & Troubleshooting](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Troubleshooting) section.<br>
|
||||
|
||||
> The information presented in this page is valid for **all** platforms.
|
||||
The information presented in this page is valid for **all** platforms.
|
||||
|
||||
**Index**
|
||||
* [GUI or CLI?](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#gui-or-cli-)
|
||||
@@ -34,14 +34,14 @@ If you're not comfortable with **Windows'** Command Line (cmd), please choose th
|
||||
|
||||
**(Skip to [Using the CLI](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-the-cli-) or [File Formats](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#file-formats-))**
|
||||
# Using the GUI ↴
|
||||
### Community Video Guide ↴
|
||||
### Community video guide ↴
|
||||
|
||||
**This video is outdated.** Please [install .NET Core Runtime](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime) before following the steps in the video.<br>
|
||||
|
||||
<a href="http://www.youtube.com/watch?v=3JwpN9cl5KE"><img src="https://i.imgur.com/ByMpwSW.png" width="400" title="How to: Export a Discord Chat Log | PM’s or text channels" /></a><br>
|
||||
Special thanks to [TroubleChute](https://www.youtube.com/channel/UCkih2oVTbXPEpVwE-U7kmHw).
|
||||
> Special thanks to [TroubleChute](https://www.youtube.com/channel/UCkih2oVTbXPEpVwE-U7kmHw).
|
||||
|
||||
### Text Guide ↴
|
||||
### Text guide ↴
|
||||
**1.** After extracting the `.zip`, open `DiscordChatExporter.exe`
|
||||
|
||||
**2.** Please refer to the on-screen instructions to get your token, then paste your token in the upper text box and hit ENTER or click the arrow (→). <br>
|
||||
@@ -59,11 +59,11 @@ Special thanks to [TroubleChute](https://www.youtube.com/channel/UCkih2oVTbXPEpV
|
||||
**4.** In this screen you can customize the following:
|
||||
* **Export format** - HTML (Dark), HTML (Light), TXT, CSV and JSON
|
||||
|
||||
Click the menu button (<img src="https://raw.githubusercontent.com/google/material-design-icons/master/navigation/2x_web/ic_menu_black_18dp.png" height="15"/>) to see more options:
|
||||
Click the menu button (<img src="https://github.com/google/material-design-icons/blob/master/png/navigation/menu/materialicons/18dp/1x/baseline_menu_black_18dp.png" height="15"/>) to see more options:
|
||||
|
||||
* **Date range (from/to)** (Optional) - If set, only messages sent in the provided date range will be exported. Only one value (either from or to) is required if you want to use this option.
|
||||
* **Date range (after/before)** (Optional) - If set, only messages sent in the provided date range will be exported. Only one value (either after or before) is required if you want to use this option.
|
||||
> Please note that the time defaults to **12:00 AM** (midnight/00:00). This means that if you choose to export between Sep 17th and Sep 18th, messages from the 18th won't be exported.
|
||||
* **Partitioning** (Optional) - Splits files after a given number of messages. For example, a channel with 36 messages set to be partitioned every 10 messages will output 4 files.
|
||||
* **Messages per partition** (Optional) - Splits files after a given number of messages. For example, a channel with 36 messages set to be partitioned every 10 messages will output 4 files.
|
||||
* **Download media** (Optional) - If this option is set, the export will include additional files such as user avatars, attached files, images, etc.<br>
|
||||
Only files which are referenced by the export are downloaded, which means that, for example, user avatars will not be downloaded when using the plain text (TXT) export format.<br>
|
||||
A folder containing the media will be created along with the exported chat. They must be kept together.
|
||||
@@ -72,19 +72,45 @@ A folder containing the media will be created along with the exported chat. They
|
||||
|
||||
<img src="https://i.imgur.com/KPgMH2D.png" height="400" /><img src="https://i.imgur.com/mtUFojS.png" height="400" />
|
||||
|
||||
### Settings () ↴
|
||||
|
||||
**Date formats**<br>
|
||||
You can customize how dates are formatted in the exported files in the settings menu (). <br>
|
||||
* The default one is `17-Sep-19 11:34 PM` - `dd-MMM-yy hh:mm tt`<br>
|
||||
* To change it to `09-17-19 11:34 PM` use `MM-dd-yy hh:mm tt`<br>
|
||||
* To change it to `17-09-2019 23:34` use `dd-MM-yyyy HH:mm`<br>
|
||||
* To change it to `2019-09-17 23:34:05.6534` use `yyyy-MM-dd HH:mm:ss.ffff`<br>
|
||||
* To change it to UTC `2019-09-18 04:34:05Z` use `u`<br>
|
||||
* To display the time zone, add `K`. E.g. to change it to `17-Sep-19 11:34 PM (UTC-05:00)` use `dd-MMM-yy hh:mm tt (UTCK)`<br>
|
||||
**Auto-updates**<br>
|
||||
Perform automatic updates on every launch.<br>
|
||||
Default: Enabled<br>
|
||||
> 💡 Tip: Keep this option enabled to receive the latest features and bug fixes!
|
||||
|
||||
**Dark mode**<br>
|
||||
Use darker colors in the UI (User Interface).<br>
|
||||
Default: Disabled
|
||||
|
||||
**Save token**<br>
|
||||
Persist last used token between sessions.<br>
|
||||
Default: Enabled
|
||||
|
||||
**Reuse downloaded media**<br>
|
||||
Reuse already existing media content to skip redundant downloads.<br>
|
||||
Default: Disabled
|
||||
|
||||
**Date format**<br>
|
||||
You can customize how dates are formatted in the exported files in the settings menu ().<br>
|
||||
* The default one is `17-Sep-19 11:34 PM` - `dd-MMM-yy hh:mm tt`
|
||||
* To change it to `09-17-19 11:34 PM` use `MM-dd-yy hh:mm tt`
|
||||
* To change it to `17/09/2019 23:34` use `dd/MM/yyyy HH:mm`
|
||||
* To change it to `2019-09-17 23:34:05.6534` use `yyyy-MM-dd HH:mm:ss.ffff`
|
||||
* To change it to UTC `2019-09-18 04:34:05Z` use `u`
|
||||
* To display the time zone, add `K`. E.g. to change it to `17-Sep-19 11:34 PM (UTC-05:00)` use `dd-MMM-yy hh:mm tt (UTCK)`
|
||||
* To change it to Unix time `1568694845` use `unix`
|
||||
* To change it to Unix time in milliseconds `1568694845653` use `unixms`
|
||||
|
||||
More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings).
|
||||
|
||||
|
||||
**Parallel limit**<br>
|
||||
How many channels can be exported at the same time.<br>
|
||||
Default: 1
|
||||
|
||||
> 💡 Tip: Try to keep this number low so that your account doesn't get flagged.
|
||||
|
||||
**(Skip to [File Formats](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#file-formats-))**
|
||||
|
||||
# Using the CLI ↴
|
||||
@@ -117,7 +143,7 @@ DiscordChatExporter.Cli.exe
|
||||
dotnet DiscordChatExporter.Cli.dll
|
||||
```
|
||||
|
||||
So, **macOS and Linux** users <u>must</u> write `dotnet` before every command **and** instead of `DiscordChatExporter.Cli.exe`, it's `DiscordChatExporter.Cli.dll`:
|
||||
**macOS and Linux** users <u>must</u> write `dotnet` before every command **and** instead of `DiscordChatExporter.Cli.exe`, you must write `DiscordChatExporter.Cli.dll`:
|
||||
|
||||
**Docker** users, please refer to the [Docker usage instructions](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions).
|
||||
|
||||
@@ -125,15 +151,16 @@ So, **macOS and Linux** users <u>must</u> write `dotnet` before every command **
|
||||
|
||||
| Command | Description |
|
||||
| ------- | ----------- |
|
||||
[export](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#export-) | Export a channel
|
||||
[exportdm](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#exportdm-) | Export all direct message channels
|
||||
[exportguild](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#exportguild-) | Export all channels within specified server
|
||||
[export](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#export-) | Exports a channel
|
||||
[exportdm](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#exportdm-) | Exports all direct message channels
|
||||
[exportguild](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#exportguild-) | Exports all channels within specified server
|
||||
[exportall](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#exportall-) | Exports all accessible channels
|
||||
[channels](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#channels-) | Outputs the list of channels in the given server
|
||||
[dm](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#dm-) | Outputs the list of direct message channels
|
||||
[guilds](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#guilds-) | Outputs the list of accessible servers
|
||||
[guide](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#guide-) | Explains how to obtain token, guild and channel ID
|
||||
|
||||
To use the commands, you'll need a token. For the instructions on how to get a token, please refer to [this page](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs), or run `DiscordChatExporter.Cli.exe guide`.
|
||||
To use the commands, you'll need a token. For the instructions on how to get a token, please refer to [this page](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs), or run `DiscordChatExporter.Cli.exe guide`.<br>
|
||||
To get help about a specific command, please run:
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe command -h
|
||||
@@ -143,62 +170,64 @@ DiscordChatExporter.Cli.exe command -h
|
||||
|
||||
||Option | Description
|
||||
|--|------- | -------------
|
||||
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token)
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot
|
||||
|**\***|[-c](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Channel ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-guild-id-or-guild-channel-id)
|
||||
||[-f](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-format-) | [Output file format](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#file-formats-)
|
||||
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
|
||||
||[-o](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-output-filename-) | Output file or directory path
|
||||
||[-f](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-format-) | [Output file format](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#file-formats-). Default: HtmlDark
|
||||
||[--after](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-)| Only include messages sent after this date
|
||||
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-) | Only include messages sent before this date
|
||||
||[-p](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#partitioning-) | Split output into partitions limited to this number of messages
|
||||
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media-) | Download referenced media content
|
||||
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats-) | Date format used in output
|
||||
||[--after](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-)| Limit to messages sent after this date
|
||||
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-) | Limit to messages sent before this date
|
||||
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media-) | Download referenced media content. Default: false
|
||||
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media-) | Reuse already existing media content to skip redundant downloads. Default: false.
|
||||
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats-) | Format used when writing dates.
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
|
||||
||-h | Shows help text
|
||||
|
||||
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.
|
||||
|
||||
With this command you can export Server Channels and Direct Messages.
|
||||
|
||||
### Basic usage ↴
|
||||
You can quickly export with DCE's default settings by using just `-t token` and `-c channelid`
|
||||
You can quickly export with DCE's default settings by using just `-t token` and `-c channelid`.
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555
|
||||
```
|
||||
|
||||
### Using a Bot Token ↴
|
||||
Add `-b`
|
||||
Add `-b`.
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t "Mjg5ODIz" -b -c 53555
|
||||
```
|
||||
|
||||
### Changing the format ↴
|
||||
You can change the export format to `HtmlDark`, `HtmlLight`, `PlainText` `Json` or `Csv` by using `-f format`
|
||||
You can change the export format to `HtmlDark`, `HtmlLight`, `PlainText` `Json` or `Csv` with `-f format`. The default format is `HtmlDark`.
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -f Json
|
||||
```
|
||||
|
||||
### Changing the output filename ↴
|
||||
You can change the filename by using `-o name`
|
||||
You can change the filename by using `-o name`.
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -o myserver
|
||||
```
|
||||
|
||||
### Changing the output directory ↴
|
||||
You can change the export directory by using `-o`<br>
|
||||
If any of the folders has a space in its name, add quotes (")
|
||||
You can change the export directory by using `-o`.<br>
|
||||
If any of the folders in the path has a space in its name, add quotes (").
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports"
|
||||
```
|
||||
|
||||
### Changing the filename and output directory ↴
|
||||
You can change both the filename and export directory by using `-o directory\name`<br>
|
||||
If any of the folders has a space in its name, add quotes (")
|
||||
You can change both the filename and export directory by using `-o directory\name`.<br>
|
||||
If any of the folders in the path has a space in its name, add quotes (").
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports\myserver"
|
||||
```
|
||||
|
||||
### Partitioning ↴
|
||||
You can use partitioning to split files after a given number of messages<br>
|
||||
For example, a channel with 36 messages set to be partitioned every 10 messages will output 4 files
|
||||
You can use partitioning to split files after a given number of messages.<br>
|
||||
For example, a channel with 36 messages set to be partitioned every 10 messages will output 4 files.
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -p 10
|
||||
```
|
||||
@@ -212,15 +241,24 @@ A folder containing the media will be created along with the exported chat. They
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 --media
|
||||
```
|
||||
|
||||
### Date formats ↴
|
||||
This setting changes how dates are formatted in the exported files.<br>
|
||||
* The default one is `17-Sep-19 11:34 PM` - `dd-MMM-yy hh:mm tt`<br>
|
||||
* To change it to `09-17-19 11:34 PM` use `MM-dd-yy hh:mm tt`<br>
|
||||
* To change it to `17-09-2019 23:34` use `dd-MM-yyyy HH:mm`<br>
|
||||
* To change it to `2019-09-17 23:34:05.6534` use `yyyy-MM-dd HH:mm:ss.ffff`<br>
|
||||
* To change it to UTC `2019-09-18 04:34:05Z` use `u`<br>
|
||||
* To display the time zone, add `K`. E.g. to change it to `17-Sep-19 11:34 PM (UTC-05:00)` use `dd-MMM-yy hh:mm tt (UTCK)`<br>
|
||||
### Reuse media ↴
|
||||
Previously downloaded media can be reused to skip redundant downloads as long as the chat is always exported to the same folder. Using this option can speed up future media exports. This option requires the `--media` option.
|
||||
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 --media --reuse-media
|
||||
```
|
||||
|
||||
|
||||
### Date formats ↴
|
||||
This setting changes how dates are formatted in the exported files.
|
||||
* The default one is `17-Sep-19 11:34 PM` - `dd-MMM-yy hh:mm tt`
|
||||
* To change it to `09-17-19 11:34 PM` use `MM-dd-yy hh:mm tt`
|
||||
* To change it to `17/09/2019 23:34` use `dd/MM/yyyy HH:mm`
|
||||
* To change it to `2019-09-17 23:34:05.6534` use `yyyy-MM-dd HH:mm:ss.ffff`
|
||||
* To change it to UTC `2019-09-18 04:34:05Z` use `u`
|
||||
* To display the time zone, add `K`. E.g. to change it to `17-Sep-19 11:34 PM (UTC-05:00)` use `dd-MMM-yy hh:mm tt (UTCK)`
|
||||
* To change it to Unix time `1568694845` use `unix`
|
||||
* To change it to Unix time in milliseconds `1568694845653` use `unixms`
|
||||
|
||||
More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings).
|
||||
|
||||
@@ -228,6 +266,8 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 --dateformat "yyyy-MM-dd HH:mm"
|
||||
```
|
||||
|
||||
> Special thanks to [@andrewkolos](https://github.com/andrewkolos) for adding the Unix options
|
||||
|
||||
### Date ranges ↴
|
||||
**Messages sent before a date**<br>
|
||||
Use `--before` to export messages sent before the provided date. E.g. messages sent before September 18th 2019:
|
||||
@@ -253,15 +293,18 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet
|
||||
## exportdm ↴
|
||||
||Option | Description
|
||||
|-|------- | -------------
|
||||
**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token)
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot
|
||||
||[-f](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-format-) | [Output file format](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#file-formats-)
|
||||
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
|
||||
||--parallel| Limits how many channels can be exported in parallel. Try to keep this number low so that your account doesn't get flagged. Default: 1
|
||||
||[-o](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-output-filename-) | Output file or directory path
|
||||
||[-f](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-format-) | [Output file format](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#file-formats-). Default: HtmlDark
|
||||
||[--after](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-)| Only include messages sent after this date
|
||||
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-) | Only include messages sent before this date
|
||||
||[-p](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#partitioning-) | Split output into partitions limited to this number of messages
|
||||
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media-) | Download referenced media content
|
||||
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media-) | Reuse already existing media content to skip redundant downloads. Default: false.
|
||||
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats-) | Date format used in output
|
||||
||[--after](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-) | Limit to messages sent after this date
|
||||
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-) | Limit to messages sent before this date
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
|
||||
||-h | Shows help text
|
||||
|
||||
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.<br>
|
||||
|
||||
@@ -271,27 +314,59 @@ This command exports all your Direct Messages.
|
||||
## exportguild ↴
|
||||
||Option | Description
|
||||
|-|------- | -------------
|
||||
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token)
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot
|
||||
|**\***|-g | [Server ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-guild-id-or-guild-channel-id)
|
||||
||[-f](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-format-) | [Output file format](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#file-formats-)
|
||||
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
|
||||
||--parallel| Limits how many channels can be exported in parallel. Try to keep this number low so that your account doesn't get flagged. Default: 1
|
||||
||[-o](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-output-filename-) | Output file or directory path
|
||||
||[-f](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-format-) | [Output file format](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#file-formats-). Default: HtmlDark
|
||||
||[--after](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-)| Only include messages sent after this date
|
||||
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-) | Only include messages sent before this date
|
||||
||[-p](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#partitioning-) | Split output into partitions limited to this number of messages
|
||||
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media-) | Download referenced media content
|
||||
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media-) | Reuse already existing media content to skip redundant downloads. Default: false.
|
||||
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats-) | Date format used in output
|
||||
||[--after](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-) | Limit to messages sent after this date
|
||||
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-) | Limit to messages sent before this date
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
|
||||
||-h | Shows help text
|
||||
|
||||
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.<br>
|
||||
|
||||
This command exports all channels of a Server.
|
||||
|
||||
## exportall ↴
|
||||
|
||||
||Option | Description
|
||||
|-|------- | -------------
|
||||
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
|
||||
||--include-dm | Include direct message channels. Default: true
|
||||
||--parallel| Limits how many channels can be exported in parallel. Try to keep this number low so that your account doesn't get flagged. Default: 1
|
||||
||[-o](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-output-filename-) | Output file or directory path
|
||||
||[-f](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#changing-the-format-) | [Output file format](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#file-formats-). Default: HtmlDark
|
||||
||[--after](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-)| Only include messages sent after this date
|
||||
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges-) | Only include messages sent before this date
|
||||
||[-p](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#partitioning-) | Split output into partitions limited to this number of messages
|
||||
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media-) | Download referenced media content
|
||||
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media-) | Reuse already existing media content to skip redundant downloads. Default: false.
|
||||
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats-) | Date format used in output
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
|
||||
||-h | Shows help text
|
||||
|
||||
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.<br>
|
||||
|
||||
This command exports all accessible channels, including server channels and DMs.
|
||||
|
||||
To exclude DMs, add the `--include-dm false` option:
|
||||
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe exportall -t "mfa.Ifrn" --include-dm false
|
||||
```
|
||||
|
||||
## channels ↴
|
||||
||Option | Description
|
||||
|-|------- | -------------
|
||||
**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-)| [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token)
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot
|
||||
**\***|-g| [Server ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-guild-id-or-guild-channel-id)
|
||||
|**\***|-g| [Server ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-guild-id-or-guild-channel-id)
|
||||
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
|
||||
||-h | Shows help text
|
||||
|
||||
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.<br>
|
||||
|
||||
@@ -305,8 +380,9 @@ DiscordChatExporter.exe channels -t "mfa.Ifrn" -g 21814 > C:\path\to\output.txt
|
||||
## dm ↴
|
||||
||Option | Description
|
||||
|-|------- | -------------
|
||||
**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token)
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot
|
||||
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
|
||||
||-h | Shows help text
|
||||
|
||||
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.<br>
|
||||
|
||||
@@ -320,8 +396,9 @@ DiscordChatExporter.exe dm -t "mfa.Ifrn" > C:\path\to\output.txt
|
||||
## guilds ↴
|
||||
||Option | Description
|
||||
|-|------- | -------------
|
||||
**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token)
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot
|
||||
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage-) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
|
||||
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token-) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
|
||||
||-h | Shows help text
|
||||
|
||||
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.<br>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user