Real-time Subgoal

Hello there,

I want to create a real-time subgoal but I have a question for you.
I have found the EventSub : channel.subscribe but he only gives me info about a new sub but I want the total number of the subs to the channel.
something like that exist ?

Ty

You could use creator goals instead

The use the subscribers API to get the current total
And use eventsub to update the total

‘The use the subscribers API to get the current total
And use eventsub to update the total’

Yep that’s what I’m doing now but I wanted to know if there was another method ahah

Thanks

Other than periodicially calling “get subscribers” for the total no.

if eventsub you’d have to sub to sub and unsub and count manaully and resync from get subs periodically.

Theres no feed for the count itself

Ok thantks for your time :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.