tmijs / tmi.js

💬 Javascript library for the Twitch Messaging Interface. (Twitch.tv)
https://tmijs.com
MIT License
1.56k stars 211 forks source link

Documentation Issue #216

Closed Technoblazed closed 7 years ago

Technoblazed commented 7 years ago

Actual behaviour:

https://docs.tmijs.org/v1.0.0/Configuration.html

Expected behaviour:

AlcaDesign commented 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

Technoblazed commented 7 years ago

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.

AlcaDesign commented 7 years ago

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.

Technoblazed commented 7 years ago

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?

AlcaDesign commented 7 years ago

I don't think tmi.js compatible with TMoohI.

Technoblazed commented 7 years ago

Just spoke with the other devs, that's unfortunate, thanks for the help anyway <3