String to Array for my options->streamer

When are you calling var client = new tmi.client(options); client.connect();?

You’re making a http request which is asynchronous, so if you’re not waiting for the request to finish before connecting then that would explain why it’s not working.