Table of Contents

Method UpdateStatusAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

UpdateStatusAsync(DiscordActivity, UserStatus?, DateTimeOffset?)

Updates the status on all shards.

public Task UpdateStatusAsync(DiscordActivity activity = null, UserStatus? userStatus = null, DateTimeOffset? idleSince = null)

Parameters

activity DiscordActivity

The activity to set. Defaults to null.

userStatus UserStatus?

The optional status to set. Defaults to null.

idleSince DateTimeOffset?

Since when is the client performing the specified activity. Defaults to null.

Returns

Task

Asynchronous operation.