diff --git a/README.md b/README.md index c1e30d0..eaa5f6f 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,52 @@ In your `ComfyUI/custom_nodes` directory: ```bash git clone https://github.com/maxmad62/ComfyUI-DiscordWebhookWithInput.git + +๐Ÿ”ง Usage + +Set Discord Webhook + +Add the node Set Discord Webhook and paste your Discord webhook URL. + +Run it once, it will save your webhook URL locally. + +Use Discord Webhook (+message input) + +Add the node Use Discord Webhook (+message input). + +Plug an image into image. + +Plug a string (prompt, seed info, metadataโ€ฆ) into message. + +Toggle: + +send_Image = true/false + +send_Message = true/false + +Run the workflow + +The bot posts your message and/or image in the chosen Discord channel. + +๐Ÿ“‹ Notes + +Make sure to install the dependency if missing: + +pip install discord-webhook + + +(or python_embeded\python.exe -m pip install discord-webhook if using portable ComfyUI on Windows). + +Discord message length is limited to 2000 characters. + +Images larger than 20 MB are resized automatically. + +๐Ÿ“œ License + +MIT License โ€“ feel free to use and modify. + +๐Ÿ™Œ Credits + +Original base node by Dayuppy + +Modifications by maxmad62 (prompt input support)