You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
Hey there! So sometimes ( not regularly ) the client just stops listening while the node script is still running. On the local mac environment I can trigger this with a wifi disconnect or going into sleep mode. On servers it also seems to happen from time to time, although they should be pretty much online 24/7.
How to catch disconnects and then restart the client?
varclient=slack.rtm.client()client.message(function(message){// do something with message});client.listen({token:sl.slacktoken});// how to catch disconnects and reconnect client?
The text was updated successfully, but these errors were encountered:
Hey there! So sometimes ( not regularly ) the client just stops listening while the node script is still running. On the local mac environment I can trigger this with a wifi disconnect or going into sleep mode. On servers it also seems to happen from time to time, although they should be pretty much online 24/7.
How to catch disconnects and then restart the client?
The text was updated successfully, but these errors were encountered: