Do not relay slackbot messages (slack). Closes #119

This commit is contained in:
Wim 2017-02-17 23:13:02 +01:00
parent 956d7cf3f3
commit 072cac0347
1 changed files with 3 additions and 0 deletions

View File

@ -245,6 +245,9 @@ func (b *Bslack) handleMatterHook(mchan chan *MMMessage) {
m.Text = message.Text
m.Text = b.replaceMention(m.Text)
m.Channel = message.ChannelName
if m.Username == "slackbot" {
continue
}
mchan <- m
}
}