diff --git a/index.js b/index.js index d13fd92..e45937f 100644 --- a/index.js +++ b/index.js @@ -193,11 +193,12 @@ if (!Config.IgnorePNSL) { listenClient = createTwitchClient(); listenClient.connect(); listenClient.on('ready', async () => { - if (Config.Channels.length === 0) { - await listenClient.join(`#${Config.Username}`); - } else { + await listenClient.join(`#${Config.Username}`); + + if (Config.Channels.length !== 0) { await listenClient.joinAll(Config.Channels); } + console.log(`${chalk.green('[TWITCH]')} || Command listener connected`); });