Table of Contents

Interface ICurrentUserUpdateShardedGatewayHandler

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

Sent when properties about the current bot's user change. Inner payload is a CurrentUser object.

public interface ICurrentUserUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, CurrentUser)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, CurrentUser arg)

Parameters

client GatewayClient

The gateway client that represents the shard that received the event.

arg CurrentUser

The event argument.

Returns

ValueTask