Skip to content

Code that allows Twitch Chat or Youtube Chat to control a game. Modified with more Features.

License

Notifications You must be signed in to change notification settings

TheSoftDiamond/TwitchPlays

 
 

Repository files navigation

TwitchPlays

These are the three Python files I use that allows Twitch Chat or Youtube Chat to control your keyboard or mouse to play a game. You are welcome to use or adapt this code for your own content.

To run the code you will need to install Python 3.9.
Additionally, you will need to install the following python modules using Pip:
python -m pip install keyboard
python -m pip install pydirectinput
python -m pip install pyautogui
python -m pip install pynput
python -m pip install requests

Once Python is set up, simply change the Twitch username (or Youtube channel ID) in TwitchPlays_TEMPLATE.py, and you'll be ready to go.

This code is originally based off Wituz's Twitch Plays template, then expanded by DougDoug and DDarknut with help from Ottomated for the Youtube side. For now I am not reviewing any pull requests or code changes, this code is meant to be a simple prototype that is uploaded for educational purposes. But feel free to fork the project and create your own version!

About

Code that allows Twitch Chat or Youtube Chat to control a game. Modified with more Features.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%