Hi. I’ve been trying to make a command which references a random user in the chat. At the moment we’re using: $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel))
Which is the only solution I’ve been able to find, but the problem with that is that we don’t want it calling out lurkers, only active people actively participating in the chat.
Is there a way to find a random user who’s posted in the chat within a set amount of time in a custom command? Thanks.
I suggest making a new forum post requesting that a new variable, $(randomchatter x), where x is the number of minutes back to search for an active chatter, be added to Nightbot. I imagine that it would be pretty simple, since the default command !winner exists.