Interface IRateLimitedShardedGatewayHandler
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
clientGatewayClientThe gateway client that represents the shard that received the event.
argRateLimitedEventArgsThe event argument.