Bot for Twitch
Find a file
2021-07-27 03:19:59 +02:00
src use custom channel 2021-07-27 03:19:41 +02:00
.gitignore Ajout Gitignore 2021-07-27 02:28:04 +02:00
README.md Adding how to use the bot 2021-07-27 03:19:59 +02:00
requirements.txt Ajout requirements 2021-07-27 02:28:12 +02:00

Simple Bot Twitch en Python utilisant la librairie TwitchIO.

Setup and Run

Requires Python 3.9.5.

Install necessary packages:

python3 -m pip install -r requirements.txt

Create .env file in src folder

Open .env and insert the following fields:

Field Explanation
ACCESS_TOKEN Access token you can take here (be sure you selected Bot Chat Token)
PREFIX Prefix you want to use for your bot
CHANNEL The name of the your Twitch channel you want the bot to run at
DISCORD Link to your discord server

Start Bot:

cd src
python3 main.py