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

Joining Multiple Channels #25

Open
Arubinu opened this issue Sep 12, 2020 · 1 comment
Open

Joining Multiple Channels #25

Arubinu opened this issue Sep 12, 2020 · 1 comment

Comments

@Arubinu
Copy link

Arubinu commented Sep 12, 2020

This feature has a problem.

When I add in the third argument of the 'Comfy.Init' function something other than undefined, null, or false, the main channel no longer calls the 'Confy.onChat' function.

ComfyJS.Init( "MyTwitchChannel", null );

I was able to work around the problem by putting an empty channel as the main channel and first element of the array of other channels.

ComfyJS.Init( "", null, [ "", "ChannelA", "ChannelB", "ChannelC" ] );
@Arubinu
Copy link
Author

Arubinu commented Sep 17, 2020

Correction, I made a mistake in the concatenation, it is just missing the main channel in the other channels when there are some added.

So it would take this:

ComfyJS.Init( "ChannelA", null, [ "ChannelA", "ChannelB", "ChannelC" ] );

Rather than that:

ComfyJS.Init( "ChannelA", null, [ "ChannelB", "ChannelC" ] );

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