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.join() returning No response from Twitch. #342
Comments
You're probably joining too many channels in the allotted time. (20 commands per 30 seconds for normal accounts) Why not just use the auto-joiner? You already have 1 channel in the client option's var client = tmi.client({
...
channels: [
'dunaaas','xqcow' ,'sattelizergames' ,'summit1g' ,'gaules' ,
'jovirone' ,'elded' ,'scarra', ...
],
...
}); |
In this case i can't use auto-joiner. I tried use Settimeout with 5 seconds, but still return "No response from Twitch." |
Seeing this same issue here as well. It successfully joins the first several channels and then gets the "No response from Twitch" error for all others indefinitely. |
This comes from the fact that the join channel promise races against a delay Lines 263 to 269 in 5925310
(which is often set to 600ms) and when you join a lot of channels, the join command sometimes take more than 600ms so you get that "No response from Twitch" error. |
I am facing the same issue. I don't think this is fixed. |
i am suddenly facing this issue aswell when joining 20 channels |
got the same problem and just joing one channel const tmi = require('tmi.js'); const options = { const client = new tmi.client(options); |
So I'm getting the same error Here's my config: import { client } from 'tmi.js';
const opts = {
identity: {
username: process.env.BOT_USERNAME,
password: process.env.BOT_OAUTH_TOKEN
},
channels: [
process.env.CHANNEL_NAME
]
}
const cli = new client(opts);
cli.connect(); I've no clue of why it's not working so just gonna check the future comments of the issue |
change cli.connect(); to client.connect(); |
should I open a new issue for it ? |
Is there a way to increase or remove the delay if we have a verified account? The auto-joiner isn't a good fit for my application because it is only scanning for live channels.
|
My code
Actual behaviour:
Returning error when try connect in many channels using client.join()
Expected behaviour:
Don't return No response from Twitch.
Error
Server configuration
The text was updated successfully, but these errors were encountered: