Payloads - Common TypesInterfacesRESTRateLimitVersion: NextOn this pageRESTRateLimit https://discord.com/developers/docs/topics/rate-limits#exceeding-a-rate-limit-rate-limit-response-structureIndex Propertiescodeglobalmessageretry_afterProperties optionalcodecode?: numberAn error code for some limitsRESTJSONErrorCodesglobalglobal: booleanA value indicating if you are being globally rate limited or notmessagemessage: stringA message saying you are being rate limited.retry_afterretry_after: numberThe number of seconds to wait before submitting another request.
https://discord.com/developers/docs/topics/rate-limits#exceeding-a-rate-limit-rate-limit-response-structure