You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great idea! Event emitters in general is something I'd like to work on. For Example;
Bot.on('resub',(err,chatter,sub)=>{console.log(sub.months)// Emitted on user sub/resub})Bot.on('slow-mode',(err,chatter,event)=>{// Emitted when slow mode is toggled in channel})
I imagine the ones you mention being usable like this,
Bot.on('joined',(err,chatters)=>{// Returns array of chatters who joined channel})Bot.on('parted',(err,chatters)=>{// Returns array of chatters who left channel})
Would it be possible to retrieve all the users within a channel, and get notified whenever a user enters/leaves?
This'd probably be helpful: https://dev.twitch.tv/docs/v5/guides/irc/#roomstate-twitch-tags
The text was updated successfully, but these errors were encountered: