Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 825 Bytes

README.md

File metadata and controls

35 lines (30 loc) · 825 Bytes

BotGPT

GPT Powered Discord Bot

Requirements

Python 3.8 or higher
OpenAI API Key
ElevenLabs API Key (optional for realistic voice)

Dependancies

Discord with voice:

pip install aiosqlite
pip install -U py-cord[voice]

OpenAI:

pip install openai
pip install tiktoken

ElevenLabsLib:

pip install elevenlabslib

Setup

In the root directory create a .env file, add the following lines and replace the values with your own. If you don't have an ElevenLabs API key, you must remove the line. The BOT_ID is your bots discord id, you can find this with developer tools enabled then right click your bot and click "Copy User ID".

DISCORD_TOKEN=<your-bot-token>
BOT_ID=<bot-id-number>
GUILD_ID=<guild-id>
OPENAI_API_KEY=<your-api-key>
ELEVENLABS_API_KEY=<your-api-key>