Discord Message Block
Send messages to Discord with optional link preview disabling
The Discord Message block is designed to facilitate sending messages to Discord channels directly from Scout workflows. This block supports dynamic message content through Jinja templating and provides an option to disable link previews, allowing for precise control over message presentation.
Configuration (Required)
The Discord message parameter defines the content of the message to be sent to the specified Discord channel. This field supports Jinja templating, enabling dynamic message construction based on the workflow state.
This parameter determines whether link previews should be disabled in the message. By default, it is set to false, allowing link previews. Set this to true to prevent Discord from generating previews for links contained in the message.
Outputs
The block outputs the rendered Discord message with optional modifications for link previews.
Usage Context
Use this block to send messages to Discord where you may want to include dynamic content or disable link previews for cleaner message presentation.
Best Practices
- Use Jinja templating to dynamically generate message content based on workflow state.
- Disable link previews if the message contains sensitive or cluttered URLs that should not be expanded.