fix: Use IDiscordClient.GetUserAsync impl in DiscordSocketClient (#2319)
This commit is contained in:
@@ -403,7 +403,7 @@ namespace Discord.WebSocket
|
|||||||
/// the snowflake identifier; <c>null</c> if the user is not found.
|
/// the snowflake identifier; <c>null</c> if the user is not found.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
public async ValueTask<IUser> GetUserAsync(ulong id, RequestOptions options = null)
|
public async ValueTask<IUser> GetUserAsync(ulong id, RequestOptions options = null)
|
||||||
=> await ClientHelper.GetUserAsync(this, id, options).ConfigureAwait(false);
|
=> await ((IDiscordClient)this).GetUserAsync(id, CacheMode.AllowDownload, options).ConfigureAwait(false);
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Clears all cached channels from the client.
|
/// Clears all cached channels from the client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user