Updated files

Added compatibility for ComfyUI-Manager.
This commit is contained in:
Dayuppy
2024-09-14 10:45:45 +00:00
committed by GitHub
parent 3d6b580b94
commit 5e862d2fd4
3 changed files with 13 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
NODE_CLASS_MAPPINGS = {
"DiscordPostViaWebhook": DiscordPostViaWebhook
}
+9 -3
View File
@@ -1,3 +1,10 @@
"""
@author: Dayuppy
@title: Discord Webhook
@nickname: DiscordWebhook
@description: A very simple Discord webhook integration node for ComfyUI that lets you post images and text with optional metadata.
"""
import os
import json
import tempfile
@@ -13,10 +20,9 @@ class DiscordPostViaWebhook:
OUTPUT_TOOLTIPS = ("Image Output Pass-through",)
OUTPUT_NODE = True
FUNCTION = "execute"
CATEGORY = "Dayuppy Test Nodes"
CATEGORY = "Discord"
DESCRIPTION = "Post image and message to Discord using webhook"
DEPRECATED = False
EXPERIMENTAL = True
EXPERIMENTAL = False
@classmethod
def INPUT_TYPES(cls):
+1
View File
@@ -0,0 +1 @@
discord_webhook