This project is a Discord voice chat bot that is powered by ChatGPT and Whisper. It allows users to have "natural" conversations with the bot in a voice chat channel.
- Python 3.9?
- Discord account
- OpenAI API key
- Clone the repository:
git clone https://github.com/edde746/voice-gpt.git
cd voice-gpt
- Install the dependencies:
pip install -r requirements.txt
-
Create a Discord bot and add it to your server. You can follow this guide to do so.
-
Copy the
config.example.py
file toconfig.py
and fill in the required information. -
Run the bot:
python main.py
Once the bot is running, you can use the /join
slash command to have the bot join your voice channel. You can then use the /leave
slash command to have the bot leave the voice channel.
It has quite a big delay when responding, it's not a great experience but it's still fun to play around with.