Tyrrrz / DiscordChatExporter

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

"All" option in Show threads causes program to hang loading server forever #1250

Closed saladplainzone closed 1 month ago

saladplainzone commented 1 month ago

Version

v2.43.3

Flavor

GUI (Graphical User Interface)

Platform

Windows 10

Export format

HTML, TXT

Steps to reproduce

Details

Expected Behavior: Server loads with threads visible Actual Behavior: Program hangs, trying to load the server forever

Checklist

Tyrrrz commented 1 month ago

It is very slow, especially if the server has a lot of threads, but it will load them eventually.

The way threads were designed is that they are meant to be fetched on demand -- when the client loads a message in a channel that starts a thread, it loads that thread. Threads weren't designed to be fetched in batches, and doing so is only possible through very inefficient means.

If you know the exact thread ID that you want to export, you're better off using the CLI.

Such is life.

saladplainzone commented 1 month ago

Found out that doing Ctrl+A on the channel list exports threads anyhow, so my issue is no longer needed