I am new for Twitch. I am trying to build a new chatbot.I found 3 npm modules that allow to do this:
Personally I use tmi.js, but they all pretty much do the same thing, just handling of the websocket connection and parsing the messages, so pick whichever one you like.
tmi.js is updated frequently, and there’s great support for it within the community and from the developer. I can’t speak to twitch-chat-client as I don’t use it, and twitch-js I’d personally avoid as they are knowingly violating Twitch’s brand agreements so I wouldn’t trust them, but that’s just my opinion.
None of them.
I use a variation on:
Then I only have one dependency and it can do anything I need/want it to do. Potentially with less memory impact.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.