Add info for `--filter` in CLI docs (#1310)

pull/1192/merge
LostXOR 1 month ago committed by GitHub
parent abd7adc9e0
commit 34e9b0bfcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -214,6 +214,16 @@ Don't forget to quote (") the date if it has spaces!
More info about .NET date
formats [here](https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings).
#### Filtering messages
Use `--filter` to filter what messages are included in the export.
```console
./DiscordChatExporter.Cli export -t "mfa.Ifrn" -c 53555 --filter "from:Tyrrrz has:image"
```
Documentation on message filter syntax can be found [here](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Message-filters.md).
### Export channels from a specific server
To export all channels in a specific server, use the `exportguild` command and provide the server ID through the `-g|--guild` option:

Loading…
Cancel
Save