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

Fixes Discord error code 50006 when sending message #180

Merged
merged 1 commit into from Nov 25, 2019

Conversation

caronc
Copy link
Owner

@caronc caronc commented Nov 24, 2019

Description:

Related issue (if applicable): fixes #179
After finding this StackOverflow post, it seems that Nov 24th 2019 (today) was a day Discord did make some kind of change upstream.

Today they enforces the Content-Type header application/json where in the past it was not a requirement at all.

The strange thing is that this appears to be very random. I live in Canada and whatever server they're providing me, it's still accepting the old format. However the reports of this breaking on people has been showing up on Reddit, StackOverFlow and other GitHub projects.

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • No lint errors (use flake8)
  • 100% test coverage

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.

Discord notifications not working
1 participant