Skhmt / tapic

Twitch API & Chat. A javascript library for doing things with twitch chat, APIs, and pubsub. Can be used to make a HTML or Node.js bot. Or something.
MIT License
18 stars 5 forks source link

Error on clear chat #2

Closed HeCodes2Much closed 7 years ago

HeCodes2Much commented 7 years ago

Clear Chat gives this error Uncaught TypeError: Cannot read property 'slice' of undefined at _msgBan (tapic.js:531) at _parseMessage (tapic.js:386) at WebSocket.wsMessage (tapic.js:743)

Skhmt commented 7 years ago

Twitch added a roomid to their clearchat messages, which caused tapic to think that a clearchat was a ban/timeout. Released 3.3.6 to fix this issue.