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
}
}
b.Log.Debugf("Found bot %#v", bot)
if bot.Name != "" && bot.Name != "Slack API Tester" {
rmsg.Username = bot.Name