aarohmankad / juke

Twitch plays Spotify.
2 stars 1 forks source link

Only let subscribers add music #2

Closed aarohmankad closed 7 years ago

aarohmankad commented 7 years ago
kritzware commented 7 years ago

Hi, creator of node-twitchbot here! 👍 You can find out if someone is a sub using the chatter object returned from the callback of the listen or listenFor methods.

The chatter object returns this data currently:

{
  user: 'KRITZWARE',
  msg: 'Hello chat! Keepo',
  channel: 'kritzware',
  user_id: '44667418'
  level: 'mod',
  sub: '0',
  turbo: '0'
}

If you need any future features for the package drop an issue on the GitHub page and I'll be sure to take a look into it! 😄

aarohmankad commented 7 years ago

@kritzware thanks so much! That info is really helpful!