Skip to content

Commit

Permalink
Add info for --filter in CLI docs (#1310)
Browse files Browse the repository at this point in the history
  • Loading branch information
LostXOR authored Oct 23, 2024
1 parent abd7adc commit 34e9b0b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .docs/Using-the-CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 34e9b0b

Please sign in to comment.