From 1f1634ea593872a09e355b371befd27fc25c5b0a Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 22 Feb 2019 19:36:50 +0100 Subject: Add extra debug option (slack) --- bridge/slack/slack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge') diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 1685c4fc..6ab70a1d 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -121,7 +121,7 @@ func (b *Bslack) Connect() error { // If we have a token we use the Slack websocket-based RTM for both sending and receiving. if token := b.GetString(tokenConfig); token != "" { b.Log.Info("Connecting using token") - b.sc = slack.New(token) + b.sc = slack.New(token, slack.OptionDebug(b.GetBool("Debug"))) b.rtm = b.sc.NewRTM() go b.rtm.ManageConnection() go b.handleSlack() -- cgit v1.2.3