ComfyUI-DiscordWebhook
A very simple Discord webhook integration node for ComfyUI that lets you post images and text.
Usage
On first use, you will need to use the "Set Discord Webhook" node to set your webhook URL. Create a blank workflow and add the two nodes from the Discord category for Set and Use Discord Webhook.
Connect them together and you should see a test image sent to your Discord channel if you configured your webhook correctly.
Delete the Set node after using to ensure that the URL is not saved within any workflow or image metadata.
How to Create a Webhook URL
https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
Installation:
Note
Recommended to install ComfyUI-Manager and then search for and install this extension from within the manager: https://github.com/ltdrdata/ComfyUI-Manager?tab=readme-ov-file#installation
Clone or download this repo into your ComfyUI/custom_nodes folder.
Modules:
Important
Install discord_webhook[async] module with pip.
For Windows:
.\python_embeded\python.exe -s -m pip install --upgrade discord_webhook[async]
Ex. custom_launcher.bat
.\python_embeded\python.exe -s -m pip install --upgrade discord_webhook[async]
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
pause
For Linux:
./bin/python -s ./bin/pip install --upgrade discord_webhook[async]
Ex. custom_launcher.sh
./bin/python -s ./bin/pip install --upgrade discord_webhook[async]
./bin/python -s ./main.py
pause