Skip to content

document silent disconnect handling#111

Open
eponymz wants to merge 6 commits into
mishk0:masterfrom
eponymz:master
Open

document silent disconnect handling#111
eponymz wants to merge 6 commits into
mishk0:masterfrom
eponymz:master

Conversation

@eponymz
Copy link
Copy Markdown

@eponymz eponymz commented Oct 25, 2018

This adds my sample code for handling the silent disconnects into the readme.

This adds the event sent by slack when the server is going to disconnect the websocket. Add ability to handle the event.
Stuck in ES6 mind-set.. oops
(using github UI editor)
figured a workaround that would require minimal change to the repo and has gone through rigorous PR review by my company. (confirmation that it works happened today) logs dont lie
this will assist *many* people dealing with the frustration of silent disconnects. Server will still run but the bot will show as offline.
realized the code styling and event handling for my code was less generic (not everyone has one handle function for message event). removed and noted that any bot event handler should be in the startBot() function
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.

1 participant