There are a few ways to get subscriber data from Twitch
- Read chat for the presence of the subscriber badge, that’ll tell you if a person chatting is a sub or not
- Read chat for the (re)subscriber events from USERNOTICE
- Read PubSub for Subscription events
- Poll the subscribers API every few minutes to update your list
- Receive data via Webhooks
With Webhooks you will need a Web Server to receive that data, so it might not work for your use case.
I keep most of my subscriber logic out of the bot, but use badges to check if a user can run a sub only command or not. (saves a database or API round trip)