tmijs / tmi.js

💬 Javascript library for the Twitch Messaging Interface. (Twitch.tv)
https://tmijs.com
MIT License
1.54k stars 217 forks source link

events such as banned, timeout, sub, follow and etc is not trigging #377

Closed lv2lrn4lf closed 4 years ago

lv2lrn4lf commented 4 years ago

trying to get notification on when a users Follow, Subscription, Host, Bit, Raid, Timeout, Banned, and what ever else. how do i go about this? cause the method that it showing me is not working ( https://github.com/tmijs/docs/blob/gh-pages/_posts/v0.0.29/2016-01-01-Events.md#hosted ).

AlcaDesign commented 4 years ago

Please follow the latest docs. There's no "follow" event, just the roomstate event "followersonly". For the "hosted" event the docs note that it "is fired only if you are logged in as the broadcaster." Please also check out the example in the README of this repository.