webhook: support color for Discord

This commit is contained in:
Unknwon
2017-02-21 11:36:19 -05:00
parent c5b85f2733
commit 8216360da8
6 changed files with 17 additions and 2 deletions

View File

@@ -177,6 +177,7 @@ type NewDiscordHookForm struct {
PayloadURL string `binding:"Required;Url"`
Username string
IconURL string
Color string
WebhookForm
}