sarge841/Discord Webhook Message
Sends a message to a Discord channel via webhook.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| webhook_url | The Discord webhook URL (can be set via ENV as DISCORD_WEBHOOK_URL) | no | — |
| content | Message content to send to Discord. | no | — |
| username | The username to send the notification as. If unspecified, uses webhook's default username. | no | — |
| avatar_url | The avatar URL for the webhook message. | no | — |
| tts | Set to 'true' to enable text-to-speech. | no | — |
| embed_title | Title of the embed message. | no | — |
| embed_description | Description of the embed message. | no | — |
| embed_url | URL to attach to the embed. | no | — |
| embed_timestamp | Timestamp for the embed message (ISO 8601 format). | no | — |
| embed_color | Embed color as a hexadecimal number (e.g., 0xFF0000 for red). | no | — |
| embed_author_name | Name of the embed author. | no | — |
| embed_author_url | URL of the embed author. | no | — |
| embed_author_icon_url | Icon URL for the embed author. | no | — |
| embed_footer_text | Footer text for the embed. | no | — |
| embed_footer_icon_url | Icon URL for the embed footer. | no | — |
| embed_fields | JSON array of fields for the embed. Each field should be an object with 'name', 'value', and 'inline'. | no | — |
| show_payload | Set to 'true' to log the payload before sending. | no | false |
Outputs
no outputs