Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all threads are fetched from a server when it has a lot of them #1251

Open
4 of 6 tasks
beareogaming opened this issue Jun 9, 2024 · 6 comments
Open
4 of 6 tasks

Comments

@beareogaming
Copy link

Version

2.43.3

Flavor

CLI (Command-Line Interface)

Platform

win11

Export format

HTML, TXT

Steps to reproduce

When exporting threads via the --include-threads command or by exporting a list of threads using the channel command, if a server has a very large amount of threads, not all threads will download or be listed,
For example i have a server with multiple 300+ thread channels. CLI will only collect a third of it roughly.

i believe this may possibly be a discord issue aswell as when viewing those channels in gallary view via the discord client the full list of channels wont load unless you switch to list view, then they will all load. perhaps related? (to reproduce the discord client issue you must restart your client to clear cache, once all channels are loaded they will be visible in both gallary and list view but exclusively load only in list view to its entirety)

Details

Expecting to export full list of roughly 1000 threads,
actually results are less than expected value but consistant across multiple attempts. if it only exports 100 of the 300 threads it will do that the second attempt aswell.

Attempted with both
DiscordChatExporter.Cli.exe channels -g 123456789 --include-threads all
and
exportguild -g123456789 --include-threads all

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that this bug is reproducible on the latest version of the application
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I have sponsored this project
  • I have not read any of the above and just checked all the boxes to submit the issue
@Tyrrrz Tyrrrz changed the title thread listing/downloading limitation Thread listing/downloading limitation Jun 9, 2024
@Tyrrrz
Copy link
Owner

Tyrrrz commented Jun 9, 2024

Are you using a bot token or a user token? If possible, try switching from one to another, as they use different ways to fetch threads. Curious if that has an effect.

Also, are the missing threads archived or mixed archived/active?

@beareogaming
Copy link
Author

Tested with both bot and user tokens, i typically use a bot for it.

Both archived and active, its like it only displays roughly 100 of the most recent threads. regardless of archived or active.
i havent compared this list to the ones you can view in gallary mode without switching to list view to see if they are the same.

@CharithBhat
Copy link

CharithBhat commented Jun 30, 2024

I'm having the same issue with a large server with over 1k threads per channel. Only around 200 threads are downloaded.
With a small server, everything works fine.

Noticed even some channels that the bot had permission for were not downloading in the large server. Don't know if this is some sort of rate limiting. I had parallelization at 1.

@beareogaming
Copy link
Author

beareogaming commented Jun 30, 2024

I've contacted discord about it as well and they are currently "looking into" I was told. Havn't heard back in a week or two now. (About their janky loading system that is)

@Yorkemartin
Copy link

i get this issue as well, if anyone finds a solution please post!

@Tyrrrz Tyrrrz changed the title Thread listing/downloading limitation Not all threads are fetched from a server when it has a lot of them Aug 7, 2024
@patcolyn
Copy link

patcolyn commented Sep 24, 2024

A similar issue I am experiencing on v2.43.3, guilds with a large number of threads hang the application. This is experienced in both the CLI and the GUI. exportguilds and channels with the --include-threads flag specifically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants