Open berkingurcan opened 1 year ago
The issue is the limit on the archived threads, it defaults to 50. Up it to 100, and you'll see 100. You need to read all of them, which is impossible with the current API (it handles before incorrectly, #3014 covers this issue.
Description: Get Active Threads methods cannot get all threads from specific Forum Channel. It gets some threads from the channel.
Expected Behavior: Can get all active threads from guild and get all archived threads from channel.
Actual Behavior: I have a Forum Channel which has more than 400 Threads and most of them are active. It is highly crowded server and there are too many messages threads etc.
When I try to use
get_guild_active_threads
andget_channel_archived_public_threads
(or other related methodsguild_id.get_active_threads or channel_id.get_archived_public_threads
etc.) like this:I get:
But I do know that Forum Channel has more that 400 Threads. Even if I filter Guild active threads for the Forum Channel, I get around 60 threads.
So, if the issue is Rate limit is there any method that I can use while paginating? Or am I missing something? Or any idea what is the problem?
Thank you!