From a07b1f630aee4deb82623ef05b8b236f2b0c09df Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 18 Feb 2017 00:54:56 -0500 Subject: webhook: add native Discord support --- modules/setting/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/setting') diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 76f1e73d..575e3670 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -821,7 +821,7 @@ func newWebhookService() { Webhook.QueueLength = sec.Key("QUEUE_LENGTH").MustInt(1000) Webhook.DeliverTimeout = sec.Key("DELIVER_TIMEOUT").MustInt(5) Webhook.SkipTLSVerify = sec.Key("SKIP_TLS_VERIFY").MustBool() - Webhook.Types = []string{"gogs", "slack"} + Webhook.Types = []string{"gogs", "slack", "discord"} Webhook.PagingNum = sec.Key("PAGING_NUM").MustInt(10) } -- cgit v1.2.3