Command to print # of mods in channel?

Asked Feb 20, 2022·2 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.

Hi! I'm looking to create a simple command that will print out the number of mods that are currently present in a stream. Any advice on how to accomplish this?

2 replies

Yes this should be possible with use of this API Endpoint

https://tmi.twitch.tv/group/user/CHANNEL/chatters

Note that CHANNEL Should be replaced with the channel or $(channel) variable