
# twitchBot-intelligent

a twitch bot that listens to and records the audio and translates it into text, analyzes it using a text chat bot and sends a response over the chat.


## Installation

clone project

```bash
git clone https://github.com/Foufure13/twitchBot-intelligent.git
cd twitchBot-intelligent
```
Install my-project with pip venv

```bash
python3.10 -m venv env
source env/bin/activate
pip install -r requirements.txt
sudo pacman -S cuda cudnn

```
    
clone other projects  

twitch-recordAudio for stream audio recording

whisperX for audio-to-text translation

```bash
git clone https://github.com/Foufure13/twitch-recordAudio
git clone https://github.com/m-bain/whisperX
cd whisperX
python setup.py install
python -c "import whisperx"

```

install bin tgpt

tgpt for text chat bot

https://github.com/aandrew-me/tgpt

## Error

To Repair pip

```bash
deactivate 
rm -rf env
python -m venv env
source env/bin/activate
pip install -r requirements.txt  
```



debug error see
https://github.com/openai/whisper/discussions/1027
si tout le reste ne suffit pas
sudo pacman -S python-openai-whisper





https://github.com/Kichi779/Twitch-Chat-Bot
https://github.com/mark-rez/Twitch-Chat-Reader


https://twitchat.fr/
