Table of Contents

Interface IRateLimitedShardedGatewayHandler

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

Sent when the application has been rate limited for a gateway opcode. The inner payload is an RateLimitedEventArgs object.

public interface IRateLimitedShardedGatewayHandler : IShardedGatewayHandler

Remarks

Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, RateLimitedEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, RateLimitedEventArgs arg)

Parameters

client GatewayClient

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

arg RateLimitedEventArgs

The event argument.

Returns

ValueTask