ignoring slack chan join msg

bugfix/slack_private_channels
Karolis Rusenas 2019-06-02 11:13:18 +01:00
parent dcf9fd17e1
commit 4f31e65628
1 changed files with 2 additions and 1 deletions

View File

@ -204,7 +204,8 @@ func (bm *BotManager) handleCommand(eventText string) string {
func (bm *BotManager) handleBotMessage(m *BotMessage) string {
command := m.Message
if command == "" {
switch command {
case "", "has joined the channel":
return ""
}