Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

Available Nodes

discord_send

ComfyUI Node: discord_send Documentation

Overview

The discord_send node is a part of the ComfyUI LLM Party toolset designed to facilitate interaction with Discord. This node is specifically created to send messages, images, and audio files from ComfyUI workflows directly to a Discord server. It serves as a bridge, allowing users to integrate their ComfyUI workflow outputs seamlessly into Discord channels.

What This Node Does

The discord_send node enables users to send messages, images, and audio files from within a ComfyUI workflow directly to a pre-configured Discord channel. By utilizing this node, users can share workflow results or notifications through Discord, which can be especially useful for collaborative projects or real-time updates.

Inputs

The discord_send node accepts the following inputs:

  • is_enable: A boolean input that determines whether the node's functionality is active. If set to True, the node will execute and send outputs to Discord.

  • text: A string input for the text message you wish to send to Discord. This can be any message generated or defined in your workflow.

  • img_path: A string input specifying the path to an image file. The image at this path will be sent to the Discord channel.

  • audio_path: A string input specifying the path to an audio file. The audio file at this path will be sent to the Discord channel.

Outputs

The discord_send node produces no direct outputs. Its main function is the side effect of sending the specified media (text, image, audio) to a Discord channel.

Usage in ComfyUI Workflows

The discord_send node can be integrated into ComfyUI workflows wherever there is a need to send workflow outputs to a Discord channel. Typical use cases include:

  • Notification Systems: Use the node to send alerts or messages to a Discord server when certain conditions are met within a workflow.

  • Collaborative Projects: Automatically share updates, results, or notifications with a team via Discord as a workflow progresses or completes.

  • Logging and Record Keeping: Keep a record of certain actions or results from a workflow by sending them to Discord, providing an external log of activities.

Special Features and Considerations

  • Asynchronous Handling: The node's operation can be triggered in an asynchronous manner, ensuring that the sending process does not block other operations in the workflow.

  • Path Validity: Ensure that the image and audio paths provided are valid and accessible from the environment where the ComfyUI is running. Incorrect paths may lead to failures in sending the media files.

  • Discord Bot Token: Although not directly part of this node, a Discord bot token is required to authenticate and send messages through Discord. The discord_bot node can be used in conjunction to initiate the bot session.

  • Localization: The node supports multiple languages as defined by the configuration in the ComfyUI LLM Party setup. Ensure that the system language settings are correctly configured if the node's display names are not as expected.

The discord_send node is an important utility for anyone looking to extend their ComfyUI workflows into collaborative environments via Discord. By understanding its inputs, capabilities, and best use cases, users can effectively incorporate Discord as a communication channel in their data processing or automation workflows.