No more, no less.
This repository contains the code and configurations for a Discord Bot created with the discord.py
package and the official OpenAI Python API library.
The Bot's commands are documented in the docs folder. app.py
contains the bot-decorated functions.
While I currently do not have a desire to distribute this Bot to the public, you can run this yourself if you have a Discord Developer account and an OpenAI API key.
-
Create a Bot: Create a Discord Bot with the following permissions:
-
Set Environment Variables:
OPENAI_API_KEY=your_openai_api_key DISCORD_BOT_TOKEN=your_discord_bot_token
-
Run in Docker: Use the provided
Dockerfile
to build and run the Bot in a Docker container if that's your thing (it should be).