Random multiple chat users command

Hey @blockws!

I assume you want the 3 users to be picked at random, so we’ll borrow code from this command.

$(eval r=`$(urlfetch json http://tmi.twitch.tv/group/user/$(channel)/chatters)`;try{c=JSON.parse(r).chatters;a=c.vips.concat(c.moderators,c.staff,c.admins,c.global_mods,c.viewers).filter(n=>![`$(user)`,`Nightbot`,`UnwantedUser3`].some(o=>n.toLowerCase()==o.toLowerCase()));t=[];if(a.length<3) throw `not enough chatters in chat`;for(i=0;i<3;i++){t.push(a.splice(Math.floor(Math.random()*a.length),1))}`$(user), A - ${t[0]}, B - ${t[1]}, C - ${t[2]}`}catch(e){`Error: ${e}`.slice(0,400)})

Feel free to replace UnwantedUser3 with the username of someone you don’t want Nightbot to pick, for example the streamer or another bot, you can have more than 3 UnwantedUsers, just make sure the command code doesn’t go above 500 characters and to follow the proper syntax.