mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 07:43:31 -07:00
Several bugs related to appending empty channel exports have been fixed: - Previously, the partition index hadn’t been adapted if the existing channel export had been empty. This had resulted in an uncaught exception as the target file had already existed. - Previously, the HTML last message detection hadn’t worked if the export had been empty, resulting in an uncaught exception. - Previously, empty TXT exports had been detected as message containing because the footer hadn’t been taken into account. This had resulted in an uncaught exception as no valid timestamp could have been retrieved. - Previously, empty TXT & CSV exports would have been detected as message containing if they had contained enough empty lines. This has been fixed by testing whether the respective file has enough non-empty lines in a functional and lazy way. Additionally, there have been multiple other improvements: - The CSV last message detection has been improved to now use the last non-empty line. Previously, it wouldn’t have worked (and thrown an exception) if there had been any trailing empty lines. - The info messages that a channel export is being appended had previously not been logged if the export had been empty. Therefore, new specific info logs have been added for this situation. - If an empty channel had previously been exported and is still empty, the export will now be aborted (and a respective new info message will be logged). - A comment has been added to the HTML template to prevent it from being changed without corresponding changes in the HTML last message detection. |
||
|---|---|---|
| .. | ||
| Discord | ||
| Exceptions | ||
| Exporting | ||
| Markdown | ||
| Utils | ||
| DiscordChatExporter.Core.csproj | ||