stavsap / ComfyUI-Discord-Bot

Apache License 2.0
5 stars 2 forks source link

ComfyUI Discord Bot

The following is a project for private (can be public) Discord bot integrated with ComfyUI.

Makes usage of pycord, also check pycord github

For quick installation of ComfyUI with all the required models check this.

🚦 WIP 🚦

Buy Me A Coffee

pic

pic

Setup

Install dependencies:

python -m pip install -r requirements.txt

Bot Setup

For Bot creation and integration check the docs

To run the bot after creating and obtaining the bot Token, set environment variables:

Env Var Description Default Required?
DISCORD_BOT_API_TOKEN A token to access Discord API YES
COMFY_UI_HOST The host address of comfy ui server host:port 127.0.0.1:8188 NO

Docker

To build a docker image:

docker build -t comfy-discord-bot:1 .

the database will be in the follwoing path in the container:

/bot/db

Contribution

If you want to contribute, feel free to fork the repository and submit a Pull Request. When creating the PR, please provide a high-level description of the changes or new feature being merged.