Remove before argument from GetGuildThreadsAsync

This commit is contained in:
Audino 2025-04-06 10:03:33 -08:00
parent 70aa3a3d3e
commit cefb6b8589
2 changed files with 0 additions and 3 deletions

View file

@ -86,7 +86,6 @@ public class ExportChannelsCommand : ExportCommandBase
var thread in Discord.GetChannelThreadsAsync(
channels.ToArray(),
ThreadInclusionMode == ThreadInclusionMode.All,
Before,
After,
cancellationToken
)

View file

@ -312,7 +312,6 @@ public class DiscordClient(string token)
var channel in await GetChannelThreadsAsync(
channels,
includeArchived,
before,
after,
cancellationToken
)
@ -325,7 +324,6 @@ public class DiscordClient(string token)
public async IAsyncEnumerable<Channel> GetChannelThreadsAsync(
Channel[] channels,
bool includeArchived = false,
Snowflake? before = null,
Snowflake? after = null,
[EnumeratorCancellation] CancellationToken cancellationToken = default
)