I use code from topic "Minimal code to stay logged in forever..." to stay online. It's working perfectly, but bot keep disconnecting from chat after a while. I tried use "chatLogoff()" on sessionExpired - not working. Setting chatLogon interval to 4000 - not working. chatLogOnFailed event not triggering. Any advice to fix this ? Edit: I tested after "chatLogoff()" bot cannot go online in chat with chatLogon(). Am I doing something wrong ?