diff --git a/models/webhook_discord.go b/models/webhook_discord.go
index 631c8174e..6d39d8b99 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 1710713f9..15c694318 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}}