more docs authored by fadedmax's avatar fadedmax
[[_TOC_]]
# What is this?
This is a program that allows twitch chat to control a pc. It's the core code for [this](https://www.twitch.tv/controlmypc) It features discord integration, permissions, a command processor, and everything you could need. You type `up` in chat, and the mouse goes up. It's fairly simple at it's core, so don't be afraid to dive into the code :)
# script
The script is based off of dougdougw's script which is based off [this tutorial for creating a Twitch Plays stream](http://www.wituz.com/make-your-own-twitch-plays-stream.html). It was then rewritten by winnerspiros, then kae and again by jmcb.
It's written in Python and mainly edited by max and joel, if you want to add something, you should probably ask them,
I'll probably add more documentation here later, but it's pretty simple, theres a seperate readme in that repo for more information.
[repo here](https://gitlab.com/controlmypc/Twitch-Plays-Control-My-PC)
[repo here](https://gitlab.com/controlmypc/TwitchPlays)
# code consistency
......@@ -50,6 +54,7 @@ You will mainly only need to install:
- pyautogui - dual platform (main handler)
- requests - api and discord webhook
- pynput - misc computer control
- toml - configuration
****When running the script, you may need to start it as a admin.****
## updating requirements.txt
......@@ -122,7 +127,6 @@ script- testconn (sends a test message to the modtalk webhook)
script- reqdata (sends data about current runtime vars to the modtalk webhook)
script- apirefresh (reloads the devs and mods lists from the API)
script- forceerror (sends a test error to the systemlog webhook)
rawsend- {key} (sends a raw pyautogui key input to the computer)
modsay {message} (sends the message to the modtalk webhook)
chatbot- {signal} (sends a signal input to dukt hosting)
......
......