Do Token Manangement/validation see Getting OAuth Access Tokens | Twitch Developers and Refreshing Access Tokens | Twitch Developers )
Call Get Chatters - https://api.twitch.tv/helix/chat/chatters
Paginate to all pages of chatters
After collecting everyone into an array pick a random users from the array
So you’ll need to write some code to seed in a token
And some code to do the actual random selection.
The alternative is your bot asks who wants to play then pick from the people that want to play, then you don’t randomly draw a lurker that doesn’t want to play or are afk