Command for a random and targeted viewer

Asked Apr 11, 2023·2 replies·Last activity 3 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 everyone, have a good mood. Help make a command that would mark both a targeted user and a random one. Used 2g.be before but it stopped working with random user. An example of a command was taken from the forum. $(eval r=$(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel)); $(query)?$(user) slaps ${decodeURIComponent( $(querystring))}.:$(user) slaps ${r}.;)

2 replies

Parsing error at position 7: Mismatched input list, missing end of inputs

Hey @Deft Dodo!

The random user API has been shut down due to Twitch now requiring authentication to use the endpoint the API was using, that means that people who'd wish to use the API would need to login with their Twitch account first, and maintain a valid connection, which is far from ideal and user-friendly.
Any new API who would offer such feature will be confronted to the same issue.

/t/nightbot-returning-empty-viewer-list/1534648747047260502#m1534648748737822853