robotty / dank-twitch-irc

Connect to Twitch chat from Node.js
https://www.npmjs.com/package/dank-twitch-irc
MIT License
88 stars 25 forks source link

Added support for "messageTypeID = submysterygift" #353

Open fmalk opened 2 years ago

fmalk commented 2 years ago

I started receiving this new kind of UserNoticeMessage and I wanted a method like isSub() et al to deal with this type of message.

So I added a new MassSubgiftUsernoticeMessage, just like other SpecificUsernoticeMessage.

I've added a unit test as well. There's a new eventParam called massGiftCount that should be present.

RAnders00 commented 2 years ago

Hey, the build doesn't pass on this PR because you didn't run the automatic formatter (npm run precommit). Would you mind doing that and pushing the changes, so I can take another look? Thank you!

fmalk commented 2 years ago

@RAnders00 there you go, it should pass lint tests now