summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/slack/slack.go2
1 files changed, 1 insertions, 1 deletions
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()