A Discord bot to communicate with an OpenWebUI instance.
Josh Knapp
f969aa9c69
Some checks failed
OpenWebUI Discord Bot / Build-and-Push (push) Failing after 7s
|
||
---|---|---|
.gitea/workflows | ||
scripts | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md |
OpenWebUI-Discordbot
A Discord bot that interfaces with an OpenWebUI instance to provide AI-powered responses in your Discord server.
Prerequisites
- Docker (for containerized deployment)
- Python 3.8 or higher+ (for local development)
- A Discord Bot Token (How to create a Discord Bot Token)
- Access to an OpenWebUI instance
Installation
Running locally
- Clone the repository
- Copy
.env.sample
to.env
and configure your environment variables:
DISCORD_TOKEN=your_discord_bot_token
OPENAI_API_KEY=your_openwebui_api_key
OPENWEBUI_API_BASE=http://your_openwebui_instance:port/api
MODEL_NAME=your_model_name