Table of Contents

Interface IPresenceUpdateGatewayHandler

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll

Sent when a user's presence or info, such as their name or avatar, is updated. Requires the GuildPresences intent. The user object within this event can be partial, with the ID being the only required field, everything else is optional. Along with this limitation, no fields are required, and the types of the fields are not validated. You should expect any combination of fields and types within this event.

public interface IPresenceUpdateGatewayHandler : IGatewayHandler

Remarks


Required Intents: GuildPresences*
Optional Intents: None

*Must also be enabled in the developer portal.

Methods

HandleAsync(Presence)

ValueTask HandleAsync(Presence arg)

Parameters

arg Presence

Returns

ValueTask