A simple twitch bot built in Python using the twitchAPI.webhook example here: https://pytwitchapi.readthedocs.io/en/latest/modules/twitchAPI.webhook.html
git clone [email protected]:morais-machina/twitchwebhook-pybot.git
cd twitchwebhook-pybot
pip install --upgrade pip
pip install virtualenv
virtualenv pybot
./pybot/Scripts/activate
pip install -r requirements.in
If running locally, be sure to uncomment the app.run
line
python app.py
Many options...
This is usually found in the cloud project's settings
They will end up exposed to your application via these environment variables
username = os.environ.get("username", "")
channel = os.environ.get("channel", "")
client_id = os.environ.get("client_id", "")
client_secret = os.environ.get("client_secret", "")
callback_url = os.environ.get("callback_url", "http://localhost:5000")