Notifications using Twitch API and PHP

I would assume Moobot is using this channel follows from the API

GET /channels/:channel/follows

When it joins, call that and keep track of the names. Then poll again at a set interval and any new names are new subscribers. Voila.