Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(slack): use conversations api #131

Merged
merged 9 commits into from
Nov 11, 2020
Prev Previous commit
Next Next commit
keep log type/message consistent
  • Loading branch information
wass3r committed Mar 6, 2020
commit dcae523585b20333e8ba656560c58fde5fa5942e
4 changes: 2 additions & 2 deletions remote/slack/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func handleCallBack(api *slack.Client, event slackevents.EventsAPIInnerEvent, bo
}
}
default:
bot.Log.Errorf("getEventsAPIEventHandler: Unrecognized event type: %v", ev)
bot.Log.Debugf("getEventsAPIEventHandler: Unrecognized event type: %v", ev)
}
}

Expand Down Expand Up @@ -601,7 +601,7 @@ func readFromRTM(rtm *slack.RTM, inputMsgs chan<- models.Message, bot *models.Bo
bot.Log.Debug("Invalid Authorization. Please double check your Slack token.")
}
default:
bot.Log.Debugf("%+v", ev)
bot.Log.Debugf("readFromRTM: Unrecognized event type: %v", ev)
}
}
}
Expand Down