Discord
Send release notifications to Discord
Config
announce:
discord:
enabled: true
webhook_url: "{{ Env.DISCORD_WEBHOOK_URL }}"
message_template: "{{ ProjectName }} {{ Tag }} has been released! {{ ReleaseURL }}"
When webhook_url is unset, anodizer assembles the webhook URL from the DISCORD_WEBHOOK_ID and DISCORD_WEBHOOK_TOKEN env var pair.
| Field | Type | Description |
|---|---|---|
enabled | bool or template | Enable Discord notifications |
webhook_url | string | Discord webhook URL (falls back to the DISCORD_WEBHOOK_ID + DISCORD_WEBHOOK_TOKEN env pair) |
message_template | string | Message body (templates supported). Default: {{ ProjectName }} {{ Tag }} is out! Check it out at {{ ReleaseURL }} |
author | string | Author name shown in the embed (templates supported). Default: anodizer |
color | string | Embed color as a decimal integer (templates supported). Default: 3888754 |
icon_url | string | Icon beside the author name (templates supported); sent only when author resolves to a name |