Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client auto-joins channels after reconnect #533

Open
hynekhavel opened this issue Oct 27, 2022 · 0 comments
Open

Client auto-joins channels after reconnect #533

hynekhavel opened this issue Oct 27, 2022 · 0 comments

Comments

@hynekhavel
Copy link

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!

@hynekhavel hynekhavel changed the title Autojoining channels after connection Client auto-joins channels after reconnect Oct 27, 2022
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

No branches or pull requests

1 participant