[Feature] Support for setting custom status (#2749)

This commit is contained in:
Misha133
2023-08-10 15:32:23 +03:00
committed by GitHub
parent b1c832622d
commit b2820d5b65
4 changed files with 45 additions and 1 deletions

View File

@@ -227,6 +227,16 @@ namespace Discord.WebSocket
/// A task that represents the asynchronous set operation.
/// </returns>
public abstract Task SetActivityAsync(IActivity activity);
/// <summary>
/// Sets the custom status of the logged-in user.
/// </summary>
/// <param name="status">The string that will be displayed as status.</param>
/// <returns>
/// A task that represents the asynchronous set operation.
/// </returns>
public abstract Task SetCustomStatusAsync(string status);
/// <summary>
/// Attempts to download users into the user cache for the selected guilds.
/// </summary>