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

Add JSON error code 40006 #1257

Merged
merged 1 commit into from
Dec 16, 2019
Merged

Add JSON error code 40006 #1257

merged 1 commit into from
Dec 16, 2019

Conversation

evnsh
Copy link
Contributor

@evnsh evnsh commented Dec 14, 2019

Also edited the example JSON error as the code is always after the error message

Also edited the example JSON error as the code is always after the error message
@Lachee
Copy link
Contributor

Lachee commented Dec 15, 2019

Should mention that order of json fields shouldn't be relied on. It seems like code was written on top of the message originally for stylistic purposes.

@msciotti
Copy link
Contributor

msciotti commented Dec 16, 2019

For those interested in the usage of this, at the time of merging we use this in two places:

  1. A guild trying to enable the public flag/server discovery from our API when they are not eligible

  2. Trying to add reactions on a message in a server on which we've disabled reactions for performance reasons.

Number 2 happens intermittently.

@msciotti msciotti merged commit 338b190 into discord:master Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants