Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add RESTJSONErrorCode 40062 and RESTRateLimit.code #620

Merged
merged 3 commits into from
Jan 5, 2023

Conversation

advaith1
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:

{
    "code": 40062,
    "global": false,
    "message": "Service resource is being rate limited.",
    "retry_after": 3
}

If applicable, please reference Discord API Docs PRs or commits that influenced this PR:

@vercel
Copy link

vercel bot commented Oct 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
discord-api-types ✅ Ready (Inspect) Visit Preview Oct 25, 2022 at 1:20AM (UTC)

@vladfrangu
Copy link
Member

Can you add in RESTRateLimit that code may appear now as well? 🙏

@advaith1
Copy link
Contributor Author

ok I'll add that, but it isn't new, there are already a bunch of codes that are returned in rate limit responses

@advaith1 advaith1 changed the title feat(RESTJSONErrorCodes): add 40062 feat: add RESTJSONErrorCode 40062 and RESTRateLimit.code Oct 25, 2022
@kyranet
Copy link
Member

kyranet commented Jan 5, 2023

Upstream PR landed! 🎉

@vladfrangu vladfrangu changed the title feat: add RESTJSONErrorCode 40062 and RESTRateLimit.code feat: add RESTJSONErrorCode 40062 and RESTRateLimit.code Jan 5, 2023
@vladfrangu vladfrangu merged commit 4a25caf into discordjs:main Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants