This repository is a rewrite of this existing Open WebUI Discord Bot with some additional features. Some of the code is directly taken, and some is rewritten.
Docker is required to deploy, or you can run the Python directly. You will need a Discord bot with the Message Content Intent enabled, and the bot must be invited to your server with the applications.commands and bot scopes, and at least the Send Messages, Read Message History permissions though to be honest I'm not going to update this if it requires more so just figure it out.
First copy .env.example to .env and fill in the required values.
Then, run docker compose up --build -d to start the bot.
There is a patch in place for use with the TAMU Open WebUI platform, which differs slightly from the original Open WebUI. If you are not using this platform, feel free to remove the patch and adjust the Dockerfile as necessary.