706 B
706 B
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