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( var thread in Discord.GetChannelThreadsAsync(
channels.ToArray(), channels.ToArray(),
ThreadInclusionMode == ThreadInclusionMode.All, ThreadInclusionMode == ThreadInclusionMode.All,
Before,
After, After,
cancellationToken cancellationToken
) )

View file

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