Table of Contents

Interface IReadyShardedGatewayHandler

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

The ready event is dispatched when a client has completed the initial handshake with the Gateway (for new sessions). The ready event contains all the state required for a client to begin interacting with the rest of the platform.

public interface IReadyShardedGatewayHandler : IShardedGatewayHandler

Remarks

Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, ReadyEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, ReadyEventArgs arg)

Parameters

client GatewayClient

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

arg ReadyEventArgs

The event argument.

Returns

ValueTask