Retrieve random non-banned user

Hello!
Is there a way to retrieve a random user, then check if the account is banned on channel and if so, do something different?

I know there is $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel)) to get a random user, but that does include bots that are in every channel, as well as nightbot itself. Is there a way to exclude them from a command?

Hiya, checking for banned users is not possible using this command, to filter bots use:
$(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel)&filterbots)
This will filter the known/popular bots.

Thanks! Though unless you’ve made a typo somehwere, this $filterbots still produces results with most popular bots included…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.