Is there a new API to select a random active user in the chat using the command, the old one does not work

please see Nightbot returning "Empty viewer list"
as far as i know there is no other API available yet,