Table of Contents

Method HandlePresenceUpdated

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandlePresenceUpdated(Func<DiscordClient, PresenceUpdatedEventArgs, Task>)

Fired when a user presence has been updated. For this event to fire you need the GuildPresences intent.

public EventHandlingBuilder HandlePresenceUpdated(Func<DiscordClient, PresenceUpdatedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, PresenceUpdatedEventArgs, Task>

Returns

EventHandlingBuilder