Closed Technoblazed closed 7 years ago
Clusters are no longer necessary. That was back when they were adding and moving over to the AWS servers. The connection.server
option is available if you want to change the server location. See this line: https://github.com/tmijs/tmi.js/blob/master/lib/client.js#L848
When using the connection.server
, the instance is refusing to connect to the target, when it works perfectly fine over an irc client such as mirc.
What server are you trying to connect to? This module cannot connect to the IRC server in browsers because of a restriction. It uses the separate websocket servers. (Which is the default behavior)
The connection.server
option is optional.
I use TMoohl for handling my connections and what not, but no matter the combination it doesn't want to integrate with tmi.js as the connection server.
Basically, instead of connecting through irc.chat.twitch.tv etc, you would connect to that instead. Is it not possible to integrate both of these together?
I don't think tmi.js compatible with TMoohI.
Just spoke with the other devs, that's unfortunate, thanks for the help anyway <3
Actual behaviour:
https://docs.tmijs.org/v1.0.0/Configuration.html
server
is displayed as the option, whencluster
must be used.Expected behaviour:
cluster
instead.