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

Emit a disconnected event #67

Merged
merged 2 commits into from Jun 29, 2019
Merged

Emit a disconnected event #67

merged 2 commits into from Jun 29, 2019

Conversation

MattIPv4
Copy link
Contributor

@MattIPv4 MattIPv4 commented Jun 29, 2019

Emit a disconnected event when the connection promise closes.
Reset the promise at the same time, so that you can reconnect.

Closes #42

Reset the promise at the same time, so that you can reconnect.
@devsnek devsnek merged commit 38c4a98 into discordjs:master Jun 29, 2019
@MattIPv4 MattIPv4 deleted the feat/disconnected-event branch June 29, 2019 16:00
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.

Catch if user closed Discord?
2 participants