mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-02 13:13:41 +00:00
Updated GUI, CLI and Formats explained (markdown)
@@ -228,15 +228,13 @@ DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports
|
||||
### Generating the filename and output directory dynamically ↴
|
||||
You can use template tokens to generate the output file path based on the guild and channel metadata.
|
||||
|
||||
For example:
|
||||
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports\%G\%T\%C.html"
|
||||
```
|
||||
|
||||
Assuming you are exporting a channel named `"My channel"` in a category `"Text channels"` from a guild called `"My guild"`, you will get the following output file path: `"C:\Discord Exports\My guild\Text channels\My channel.html"`
|
||||
|
||||
Here is the full list of template tokens that get replaced with their corresponding values:
|
||||
Here is the full list of supported template tokens:
|
||||
|
||||
- `%g` - guild ID
|
||||
- `%G` - guild name
|
||||
@@ -248,6 +246,7 @@ Here is the full list of template tokens that get replaced with their correspond
|
||||
- `%P` - category position
|
||||
- `%a` - the "after" date
|
||||
- `%b` - the "before" date
|
||||
- `%%` - escapes `%`
|
||||
|
||||
### Partitioning ↴
|
||||
You can use partitioning to split files after a given number of messages.<br>
|
||||
|
||||
Reference in New Issue
Block a user