ComfyJS icon indicating copy to clipboard operation
ComfyJS copied to clipboard

Is it possible to have a event like onFollow 、 onLoyalpoint ?

Open TIKER504 opened this issue 5 years ago • 5 comments

First, this is an awesome repositories that can be applied easily,

but i think it will be perfect if have a event like "onFollow" or "onLoyalpoint",

thank you.

TIKER504 avatar Jun 17 '20 06:06 TIKER504

I would like to second this request as it would be handy to be able to trigger an event on follow

ML-Astra avatar Jun 19 '20 06:06 ML-Astra

I would like to second this request as it would be handy to be able to trigger an event on follow

HA HA~~ thank you so much :D

TIKER504 avatar Jun 22 '20 03:06 TIKER504

I don't think this is possible in the current iteration. ComfyJS relies on tmi.js, which is connecting to Twitch chat to receive all events. Currently, follows aren't emitted in Twitch chat which would mean ComfyJS would have to get that information another way (i.e. webhooks/pubsub)

michaeljolley avatar Jun 26 '20 04:06 michaeljolley

Yup! It's not possible to get those notifications without PubSub at the moment (which requires OAuth) but it would be great to get PubSub support working in ComfyJS

instafluff avatar Jun 26 '20 22:06 instafluff

Did a bit more investigating and it looks like follow events aren't available via PubSub either, only webhooks which require a backend server... https://discuss.dev.twitch.tv/t/api-request-add-new-follower-topic-to-pubsub/26852/2

Could be worth all of us voting for this feature. I'm surprised the webhook topics aren't PubSub topics (follower, title and game changes, extension actions, etc.)

instafluff avatar Jul 05 '20 08:07 instafluff