From 974a0a441512849fd385974b12b4373ee39584ee Mon Sep 17 00:00:00 2001 From: Misha133 Date: Fri, 3 Feb 2023 08:37:04 +0300 Subject: [PATCH] mark old method as obsolete --- src/Discord.Net.Rest/Entities/Channels/RestThreadChannel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Discord.Net.Rest/Entities/Channels/RestThreadChannel.cs b/src/Discord.Net.Rest/Entities/Channels/RestThreadChannel.cs index f9f8c037a..7889c8b41 100644 --- a/src/Discord.Net.Rest/Entities/Channels/RestThreadChannel.cs +++ b/src/Discord.Net.Rest/Entities/Channels/RestThreadChannel.cs @@ -120,6 +120,7 @@ namespace Discord.Rest /// A task representing the asynchronous get operation. The task returns a /// of 's. /// + [Obsolete("Please use GetThreadUsersAsync instead of this. Will be removed in next major version.", false)] public new async Task> GetUsersAsync(RequestOptions options = null) => (await GetThreadUsersAsync(options: options).FlattenAsync()).ToImmutableArray();