Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TIKER504 opened this issue Jun 17, 2020 · 5 comments
Open

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

TIKER504 opened this issue Jun 17, 2020 · 5 comments

Comments

@TIKER504
Copy link

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.

@ML-Astra
Copy link

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

@TIKER504
Copy link
Author

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

@michaeljolley
Copy link
Contributor

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)

@instafluff
Copy link
Owner

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
Copy link
Owner

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants