eb0c7c94cfd6c010c217d420ea1fb7f0bc9490de
Updated to reflect compatibility with ComfyUI-Manager and updated installation instructions to include discord_webhook module as dependency.
ComfyUI-DiscordWebhook
A very simple Discord webhook integration node for ComfyUI that lets you post images and text with optional metadata.
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.
Modify your .bat or .sh to include an environment variable containing your your Discord Webhook: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
Install discord_webhook module with pip.
For Windows:
set DISCORD_HOOK="your_webhook_here"
Ex. custom_launcher.bat
set DISCORD_HOOK="https://discord.com/api/webhooks/012345678910987654321/abcdefghijklmnopqrstuvwxyz"
.\python_embeded\python.exe -s -m pip install --upgrade discord_webhook
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
pause
For Linux:
export 'DISCORD_HOOK=your_webhook_here'
Ex. custom_launcher.sh
export 'DISCORD_HOOK=https://discord.com/api/webhooks/012345678910987654321/abcdefghijklmnopqrstuvwxyz'
./bin/python -s ./bin/pip install --upgrade discord_webhook
./bin/python -s ./main.py
pause
Languages
Python
100%