https://github.com/edde746/voice-gpt
A voicechat bot for Discord powered by ChatGPT and Whisper (very buggy)
https://github.com/edde746/voice-gpt
Last synced: about 1 year ago
JSON representation
A voicechat bot for Discord powered by ChatGPT and Whisper (very buggy)
- Host: GitHub
- URL: https://github.com/edde746/voice-gpt
- Owner: edde746
- Created: 2023-03-06T02:07:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T02:16:16.000Z (over 3 years ago)
- Last Synced: 2024-10-11T16:08:37.996Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# voice-gpt
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.
## Requirements
- Python 3.9?
- Discord account
- OpenAI API key
## Installation
1. Clone the repository:
```bash
git clone https://github.com/edde746/voice-gpt.git
cd voice-gpt
```
2. Install the dependencies:
```bash
pip install -r requirements.txt
```
3. Create a Discord bot and add it to your server. You can follow this [guide](https://discordpy.readthedocs.io/en/latest/discord.html) to do so.
4. Copy the `config.example.py` file to `config.py` and fill in the required information.
5. Run the bot:
```bash
python main.py
```
## Usage
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.