

Commands from chat can be tabulated, and only the one with the most votes executed, or every single command can be acted on directly. The code will allow you to take commands from chat in two ways. SimpleTwitchCommander, as I’ve named it on Github, assumes some familiarity with basic Python programming. With that said, any language will do fine - just apply the same techniques in the relevant syntax. Just like the original streamer behind Twitch Plays Pokemon, we’re going to use Python because it’s great for fun little experiments like these. The protocol has been around forever, and libraries exist to make interfacing easy. The great thing about Twitch chat is that it runs on vanilla IRC (Internet Relay Chat). Fear not, for with a bit of ramshackle code, you can let Twitch chat take over pretty much anything in, on, or around your computer.

You, thirsty reader, are wondering how you can get a slice of this delicious action. TwitchPlaysPokemon started a craze in crowdsourced control of video games, robots, and just about everything else.

Other video games, installing Linux, and even trading on the New York Stock Exchange have all been gameified through Twitch chat. Since then, the same concept has been applied to everything under the sun. Twitch Plays Pokemon burst onto the then nascent livestreaming scene back in 2014, letting Twitch viewers take command of a Game Boy emulator running Pokemon Red via simple chat commands.
