From e6ed462e31f659140e77d103ab4347982bcef54e Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Thu, 15 Feb 2018 15:10:46 -0500
Subject: [PATCH] Discord "logger".

Added a config comment that explains how to use the Slack Logger to hook into Discord.
---
 config/vufind/config.ini | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/config/vufind/config.ini b/config/vufind/config.ini
index 668f4fbddd8..2706f63a0d7 100644
--- a/config/vufind/config.ini
+++ b/config/vufind/config.ini
@@ -1192,6 +1192,10 @@ skip_numeric = true
 ;slack = #channel_name:alert,error
 ;slackurl = https://hooks.slack.com/services/your-private-details
 ;slackname = "VuFind Log" ; username messages are posted under
+; You can also use the Slack settings to hook into Discord:
+; - Get your url from Server Settings > Webhooks
+; - Add /slack to the end of your url for Slack-compatible messages
+; https://discordapp.com/developers/docs/resources/webhook#execute-slackcompatible-webhook
 
 ; This section can be used to specify a "parent configuration" from which
 ; the current configuration file will inherit.  You can chain multiple
-- 
GitLab