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

fix: Cancel reconnection when 4014 #1603

Merged
merged 2 commits into from
Oct 14, 2020
Merged

Conversation

SubZero0
Copy link
Member

@SubZero0 SubZero0 commented Aug 7, 2020

Stop the client from trying to reconnect when it receives a 4014: Disallowed intent(s).
Fixes #1600

@foxbot foxbot merged commit f396cd9 into discord-net:dev Oct 14, 2020
@SubZero0 SubZero0 deleted the not-reconnect-4014 branch October 15, 2020 00:05
anonymousheadless pushed a commit to anonymousheadless/Discord.Net that referenced this pull request Mar 29, 2021
* Cancel reconnection when 4014

* Missed an else
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.

Bot should be terminated on 4014: Disallowed intent(s) instead reconnecting.
2 participants