Method UpdateStatusAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
UpdateStatusAsync(DiscordActivity, UserStatus?, DateTimeOffset?)
Updates current user's activity and status.
public Task UpdateStatusAsync(DiscordActivity activity = null, UserStatus? userStatus = null, DateTimeOffset? idleSince = null)
Parameters
activity
DiscordActivityActivity to set.
userStatus
UserStatus?Status of the user.
idleSince
DateTimeOffset?Since when is the client performing the specified activity.