5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 15:10:28 +00:00

Add bot debug info (slack)

This commit is contained in:
Wim 2018-12-12 00:27:55 +01:00
parent 1a1e68ec98
commit d887855e16

View File

@ -248,6 +248,7 @@ func (b *Bslack) populateMessageWithBotInfo(ev *slack.MessageEvent, rmsg *config
return err return err
} }
} }
b.Log.Debugf("Found bot %#v", bot)
if bot.Name != "" && bot.Name != "Slack API Tester" { if bot.Name != "" && bot.Name != "Slack API Tester" {
rmsg.Username = bot.Name rmsg.Username = bot.Name