How to Create a Twitch Command Script for Streamlabs Chatbot — Part 1: The Necessities
2 min readJan 7, 2021
Yes, I have written a full walkthrough before on how to create command scripts for Twitch, but that had too much backstory and unnecessary additions. Also it’s way too long and intimidating for people just starting out I found out recently through a cool dude that contacted me: SyferCon. So I’m going to cut it up into bite size pieces with more focus, so more people can enjoy making their own commands. Let’s get to it!
The Necessities
To be able to follow along, there are a few things you’ll need:
- A Twitch account — For testing your commands before release. You probably already have one, why else would you be here?
- Streamlabs Chatbot — This will process and run your commands, and provide logging for debugging, which you will most definitely need. Log in with your Twitch account for both the Bot and the Streamer.
- An IDE that can compile Python. I use Jetbrains PyCharm Community Edition, because it’s both free and very good. It has IntelliSense built-in, it knows the PEP 8 styling rules which helps keep your code clean, and you can easily test your methods if you need to. Feel free to use the code editor of your choice, as long as it can compile Python. That will save you quite a few silly…