Skip to main content

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.

FieldTypeDescription
enabledbool or templateEnable Discord notifications
webhook_urlstringDiscord webhook URL (falls back to the DISCORD_WEBHOOK_ID + DISCORD_WEBHOOK_TOKEN env pair)
message_templatestringMessage body (templates supported). Default: {{ ProjectName }} {{ Tag }} is out! Check it out at {{ ReleaseURL }}
authorstringAuthor name shown in the embed (templates supported). Default: anodizer
colorstringEmbed color as a decimal integer (templates supported). Default: 3888754
icon_urlstringIcon beside the author name (templates supported); sent only when author resolves to a name