errors.RateLimitError

class RateLimitError(message, retryAfter, global, code)

Error thrown when the bot is being rate limited by Discord. The request can be retried after retryAfter seconds.

exported from lib.weeble.d

Extends:
Arguments:

Properties

RateLimitError.global

type: boolean

Indicates whether this is a global rate limit affecting all requests.

RateLimitError.retryAfter

type: number

How long to wait before retrying, in seconds.