summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-12-12 00:27:55 +0100
committerWim <wim@42.be>2018-12-12 00:27:55 +0100
commitd887855e166d863f3fa06d2244d698415d743b77 (patch)
tree9d2f22207ee6efaf1d9414f41a69ecdfa3fccbce
parent1a1e68ec98c04b30d57f63e44787276c53469487 (diff)
downloadmatterbridge-msglm-d887855e166d863f3fa06d2244d698415d743b77.tar.gz
matterbridge-msglm-d887855e166d863f3fa06d2244d698415d743b77.tar.bz2
matterbridge-msglm-d887855e166d863f3fa06d2244d698415d743b77.zip
Add bot debug info (slack)
-rw-r--r--bridge/slack/helpers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/slack/helpers.go b/bridge/slack/helpers.go
index b0af50f5..bbe95320 100644
--- a/bridge/slack/helpers.go
+++ b/bridge/slack/helpers.go
@@ -248,6 +248,7 @@ func (b *Bslack) populateMessageWithBotInfo(ev *slack.MessageEvent, rmsg *config
return err
}
}
+ b.Log.Debugf("Found bot %#v", bot)
if bot.Name != "" && bot.Name != "Slack API Tester" {
rmsg.Username = bot.Name