A discord bot that uses discord.py
and the OpenAI API
to integrate Chat-GPT into your server.
!help
!chat
[Your message]
- React to the "Response is too long" warning to recieve the answer in a file or as slides
Step 1: Install dependencies
pip install -r requirements.txt
Step 2: Set up environment valiables (the bot token and openai key) in .env
TOKEN = "[Your token]"
OPENAI_KEY = "[Your Key]"
Step 3: Run
py src/main.py