{{if eq .HookType "discord"}}

{{.i18n.Tr "repo.settings.add_web_hook_desc" "https://discord.com" (.i18n.Tr "repo.settings.web_hook_name_discord") | Str2html}}

{{.CsrfTokenHtml}}
{{template "repo/settings/webhook/settings" .}}
{{end}}