Random user selection but without the bots

Asked Feb 17, 2021·1 reply·Last activity 5 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.

Hello,

basically as the title says, I am trying to find a way on how to get a variable that selects a random viewer on my stream except the mods or maybe specific "users/people" that I can disallow to be mentioned in the message.

I found this following command that does the thing: $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel))

However, there is also a cahnce that the streamlabs bot, Nightbot and other bots get mentioned which I don't really want to.

Is there a way to prevent this or another command that does ignore such users?

1 reply

Hiya, try using:

https://2g.be/twitch/randomviewer.php?channel=$(channel)&filterbots

This will filter a few common Twitch bots, it is not possible to filter out specific usernames.