DLC-EM_exchangebot Posted May 17, 2020 Report Share Posted May 17, 2020 Is there a way if bot is still connected and alive other than sending a message and see if it replies Quote Link to comment Share on other sites More sharing options...
4049_1572836826 Posted May 17, 2020 Report Share Posted May 17, 2020 (edited) client.on('disconnected', () => { console.log("Bot Disconnected!"); }); community.on('sessionExpired', () => { console.log("Session expired!"); }); Edited May 17, 2020 by 4049_1572836826 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.