Getting a list of all vips

Asked Jul 22, 2022·4 replies·Last activity 4 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Just like the /vips command on twitch, is there a way to get a list of all current vips, regardless if they're online or not. I only see command examples of online vips using http://tmi.twitch.tv/group/user/(channel)/chatters

I currently have a channel reward of "Remove VIP from a random viewer". I can at least randomize for online vips, but want to increase it to ALL vips

4 replies

Hey @Brisk Ladybug!

You can use Twitch's API for that: Get VIPs.
So far I couldn't find a third-party API that was offering it without requiring authorization.

I'm going to be a noob and ask how I use Twitch's API... How do I use Twitch's API xD Like, does Nightbot have a OAuth token already for Twitch's API? Or do I have to make a new bot altogether?

You don't need to make a new bot, have a server that fetches the data whenever you call an URL, and returns it in a way for Nightbot to exploit it. You need to have a server in the middle because Nightbot's $(urlfetch) doesn't take headers.