[SOLVED] tmijs no response from twitch after JOIN command
MidKnightXI opened this issue · 0 comments
MidKnightXI commented
So I'm currently coding a twitch moderation bot and I get this error when launching the script. I tried to modify the promiseDelay value in the tmi code but nothing happened, 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();
**Actual behaviour: **
get No response from twitch
Expected behaviour:
Get rid of No response from twitch
Error log:
info: Executing command: JOIN #[channel]
error: No response from twitch
Server configuration
- Operating system: masOS Monterey / ZorinOS / Windows WSL
- Node version (if applicable): 16.13.1
- NPM version (if applicable): 8.1.2
- tmi.js version: 1.8.5