Best method for listening to channels?

Thank you, that’s what I was planning on but not quite sure. A lot has changed since I built my first bot, and that was only for a single dedicated channel. This new bot won’t be as chatty, and will have to listen on channels it’s invited to only, while forwarding the commands to the correct sockets. I am playing with the TMI.js Twitch Bot base in Node to create it.

This is the PubSub: https://dev.twitch.tv/docs/pubsub/

It “appears” that it might be able to listen in a similar way, but I am a bit confused on it’s capabilities.

1 Like