diff --git a/models/webhook_discord.go b/models/webhook_discord.go
index 631c8174e9..6d39d8b993 100644
--- a/models/webhook_discord.go
+++ b/models/webhook_discord.go
@@ -1,3 +1,7 @@
+// Copyright 2017 The Gitea Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
package models
import (
diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl
index 1710713f94..15c6943185 100644
--- a/templates/org/settings/hook_new.tmpl
+++ b/templates/org/settings/hook_new.tmpl
@@ -15,6 +15,8 @@
{{else if eq .HookType "slack"}}
+ {{else if eq .HookType "discord"}}
+
{{end}}