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.
Install dependencies:
python -m pip install -r requirements.txt
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 |
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
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.