Tyrrrz / DiscordChatExporter

Exports Discord chat logs to a file
MIT License
7.29k stars 668 forks source link

`--partition` option breaks on new trimmed build #1239

Closed monkecoder42 closed 2 months ago

monkecoder42 commented 2 months ago

Version

v2.43.2

Flavor

CLI (Command-Line Interface)

Platform

Windows 10

Export format

No response

Steps to reproduce

Trying to run an export using the command DiscordChatExporter.Cli.exe export -c [...] --format Json --fuck-russia --markdown false -p 100mb --token [...] --output [...] produced the error message

Option -p|--partition has an unsupported underlying property type.
There is no known way to convert a string value into an instance of type `DiscordChatExporter.Core.Exporting.Partitioning.PartitionLimit`.
To fix this, either change the property to use a supported type or configure a custom converter.

Details

Switching to the previous version 2.43.1 resolves the issue.

Checklist

Deastrom commented 2 months ago

Same thing here. Mentioned it in the discord. Thanks for posting an issue 😸