{{if eq .HookType "discord"}}

{{.i18n.Tr "repo.settings.add_discord_hook_desc" "https://discordapp.com" | Str2html}}

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