Class DiscordHttpRateLimitException
An exception representing a 429 error sent by the Discord HTTP API.
Implements
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class DiscordHttpRateLimitException : DiscordHttpApiException, ISerializable
Properties
| Name | Description |
|---|---|
| Bucket | If set, a unique string denoting the rate limit being encountered. Note: Only set if not a global rate limit. |
| IsGlobal | Whether this is a global rate limit. |
| Limit | The maximum number of requests that can be made between rate limit resets. This is the request count that was exceeded. Note: Only set if not a global rate limit. |
| Reset | Epoch time (seconds since 00:00:00 UTC on January 1, 1970) at which the rate limit resets. Note: Only set if not a global rate limit. |
| RetryAfter | The time in seconds that needs to be waited before sending another request. |