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
Hello,
I noticed that when TMI client reconnects (automatically after lost connection to twitch, or I manually when called .connect()) and has some channels in .getChannels() array, TMI will automatically join all channels. I do not have any channels in channels field in client options and I want to handle joining channels on my own. This for example implicates, that I can't handle .join() errors after reconnecting and I can't set up my joinInterval (when client automatically joining channels interval is used from options). I also probably cant detect when all channels are re-joined etc.
Even when I set up reconnect: false in options, after calling .connect() TMI still joins all channels in memory.
Can we get some new option for preventing auto joining? Or do not auto-join when there is no channels field in client options?
Thanks!
The text was updated successfully, but these errors were encountered:
hynekhavel
changed the title
Autojoining channels after connection
Client auto-joins channels after reconnect
Oct 27, 2022
Hello,
I noticed that when TMI client reconnects (automatically after lost connection to twitch, or I manually when called .connect()) and has some channels in .getChannels() array, TMI will automatically join all channels. I do not have any channels in channels field in client options and I want to handle joining channels on my own. This for example implicates, that I can't handle .join() errors after reconnecting and I can't set up my joinInterval (when client automatically joining channels interval is used from options). I also probably cant detect when all channels are re-joined etc.
Even when I set up reconnect: false in options, after calling .connect() TMI still joins all channels in memory.
Can we get some new option for preventing auto joining? Or do not auto-join when there is no channels field in client options?
Thanks!
The text was updated successfully, but these errors were encountered: