{{if eq .HookType "discord"}}

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

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